Back to Contents | GAS Configuration File Overview


Web Application Rendering Component - Configuration Reference

A Rendering component defines how an application is rendered for delivery via the Web to the front-end client.


WEB_APPLICATION_RENDERING_COMPONENT

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.

Syntax

<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>

Notes

The WEB_APPLICATION_RENDERING_COMPONENT may contain the following child element (described below):

  1. Zero or more OUTPUT_DRIVER element (optional).
  2. Zero or one XML_DECLARATION element (optional).
  3. Zero or one HTTP_RESPONSE_ENCODING element (optional).
  4. Zero or one HTTP_REQUEST_ENCODING element (optional).
  5. Zero or one MIME_TYPE element (optional).

Example

<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>

Back to the top


OUTPUT_DRIVER

The OUTPUT_DRIVER element specifies the output driver to be used. Valid values include:

Usage Examples

  <OUTPUT_DRIVER>GWC</OUTPUT_DRIVER>
  <OUTPUT_DRIVER>GWC2</OUTPUT_DRIVER>
  <OUTPUT_DRIVER>XSLT10</OUTPUT_DRIVER>
  <OUTPUT_DRIVER>JFE36</OUTPUT_DRIVER>

Back to the top


XML_DECLARATION

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.

Usage Examples:

  <XML_DECLARATION>TRUE</XML_DECLARATION>

Back to the top


HTTP_RESPONSE_ENCODING

Usage Example

  <HTTP_RESPONSE_ENCODING Source="INLINE">ISO-8859-1</HTTP_RESPONSE_ENCODING>
or
  <HTTP_RESPONSE_ENCODING Source="REQUEST"/> 

Back to the top


HTTP_REQUEST_ENCODING

Usage Example

  <HTTP_REQUEST_ENCODING Source="INLINE">ISO-8859-1</HTTP_REQUEST_ENCODING>
or
   <HTTP_REQUEST_ENCODING Source="REQUEST"/>

Back to the top


MIME_TYPE

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.

Usage Examples:

  <MIME_TYPE>text/html</MIME_TYPE>
  <MIME_TYPE>text/xml</MIME_TYPE>

Back to the top