WEB_APPLICATION_RENDERING_COMPONENT

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.

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>]
  [<DOC_TYPE> doctype </DOC_TYPE>]
</WEB_APPLICATION_RENDERING_COMPONENT>

Child elements

The WEB_APPLICATION_RENDERING_COMPONENT may contain the following child elements:

  1. Zero or one OUTPUT_DRIVER element.

  2. Zero or one XML_DECLARATION element.

  3. Zero or one HTTP_RESPONSE_ENCODING element.

  4. Zero or one HTTP_REQUEST_ENCODING element.

  5. Zero or one MIME_TYPE element.

  6. Zero or one DOC_TYPE element.

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>