Output Maps

The MAP element includes both rendering and theme details for an application.

How an application is rendered by the Genero Web Client depends on two components: the RENDERING component (which defines which rendering engine is used) and the THEME component (which specifies which template and snippet files to use).

An Output Map gives the ability to group together a single RENDERING component and a single THEME component into a named Output Map, which can then be specified for an application. By using the Using attribute, you can specify a WEB_APPLICATION_RENDERING_COMPONENT and a WEB_APPLICATION_THEME_COMPONENT, previously defined within the COMPONENT_LIST section of the GAS configuration file.

Output Maps are defined within an APPLICATION element (defined within the APPLICATION_LIST section). For example, the GWC abstract application defines various MAP elements; an application that specifies this application as its PARENT application will be able to use one of these Output Maps, which in turn specifies the RENDERING and THEME to use when rendering the application. You can allow or deny some OutputMap by setting the Allowed attribute accordingly.

For example, the default entry for the DUA_HTML5 Output Map looks as follows:
<!-- DUA_HTML5
     This map use the Snippets Based Rendering Engine (aka SBRE)
     introduced in GWC 2.1x.
     This map use the HTML5 snippets set rendering HTML documents.
     It is dedicated to all modern desktop browsers such as Firefox,
     Chrome, Safari, Opera, IE9 -->
<MAP Id="DUA_HTML5" Allowed="TRUE">
 <PROXY>$(res.html5proxy.cmd)</PROXY>
 <PICTURE Using="cpn.gwc.html5.picture" />
 <TIMEOUT Using="cpn.wa.timeout"/>
 <RENDERING Using="cpn.rendering.gwc2html5" />
 <THEME Using="cpn.theme.html5.gwc" />
</MAP>