Back to Contents | GAS Configuration File Overview
A Rendering component defines how an application is rendered for delivery via the Web to the front-end client.
The WEB_APPLICATION_RENDERING_COMPONENT element specifies the output driver and other elements that determine how an application is to be rendered for a Web application. It takes an attribute Id, which specifies the unique identifier for this Rendering component. It is this unique identifier that is referenced by an application, specifying the output driver that the application should use.
<WEB_APPLICATION_RENDERING_COMPONENT Id="compId">
[ <OUTPUT_DRIVER> outputDriver </OUTPUT_DRIVER>
]
[ <XML_DECLARATION> xmlDec </XML_DECLARATION>
]
[ <HTTP_RESPONSE_ENCODING Source="REQUEST|INLINE"> httpResponseEnc </HTTP_RESPONSE_ENCODING>
]
[ <HTTP_REQUEST_ENCODING Source="REQUEST|INLINE"> httpRequestEnc </HTTP_REQUEST_ENCODING>
]
[ <MIME_TYPE> mimetype </MIME_TYPE>
]
</WEB_APPLICATION_RENDERING_COMPONENT>
The WEB_APPLICATION_RENDERING_COMPONENT may contain the following child element (described below):
<WEB_APPLICATION_RENDERING_COMPONENT Id="cpn.rendering.gwc"> <OUTPUT_DRIVER>GWC</OUTPUT_DRIVER> <HTTP_RESPONSE_ENCODING Source="INLINE">ISO-8859-1</HTTP_RESPONSE_ENCODING> <HTTP_REQUEST_ENCODING Source="INLINE">ISO-8859-1</HTTP_REQUEST_ENCODING> <MIME_TYPE>text/html</MIME_TYPE> </WEB_APPLICATION_RENDERING_COMPONENT>
<WEB_APPLICATION_RENDERING_COMPONENT Id="cpn.rendering.gwc2"> <OUTPUT_DRIVER>GWC2</OUTPUT_DRIVER> <HTTP_RESPONSE_ENCODING Source="REQUEST"/> <HTTP_REQUEST_ENCODING Source="REQUEST"/> <MIME_TYPE>application/xml</MIME_TYPE> </WEB_APPLICATION_RENDERING_COMPONENT>
The OUTPUT_DRIVER element specifies the output driver to be used. Valid values include:
<OUTPUT_DRIVER>GWC</OUTPUT_DRIVER> <OUTPUT_DRIVER>GWC2</OUTPUT_DRIVER> <OUTPUT_DRIVER>XSLT10</OUTPUT_DRIVER> <OUTPUT_DRIVER>JFE36</OUTPUT_DRIVER>
Specifies if the xml declaration is present or not in the document response. This element only works with OUTPUT_DRIVER = GWC2 or OUTPUT_DRIVER = XSLT10.
<XML_DECLARATION>TRUE</XML_DECLARATION>
<HTTP_RESPONSE_ENCODING Source="INLINE">ISO-8859-1</HTTP_RESPONSE_ENCODING> or <HTTP_RESPONSE_ENCODING Source="REQUEST"/>
<HTTP_REQUEST_ENCODING Source="INLINE">ISO-8859-1</HTTP_REQUEST_ENCODING> or <HTTP_REQUEST_ENCODING Source="REQUEST"/>
Set MIME type in HTTP Content-Type response header. If not specified, the default MIME_TYPE of "text/html" is used by the output driver.
<MIME_TYPE>text/html</MIME_TYPE> <MIME_TYPE>text/xml</MIME_TYPE>