OUTPUT / MAP |
The THEME element defines the theme to be applied to the application. It takes an optional attribute Using, in which the unique identifier of a predefined WEB_APPLICATION_THEME_COMPONENT element can be specified.
The THEME element may contain BOOTSTRAP, TEMPLATE, SHORTCUT, and SNIPPET child elements, specifying the various templates and snippets to be used. You can specify multiple theme elements within an application, as different themes can be called by different windows and/or forms. If a template defined in this THEME element has the same unique identifier as a template inherited via a WEB_APPLICATION_THEME_COMPONENT setting, the local THEME element is used. In other words, templates defined explicitly for the application override any templates defined in the WEB_APPLICATION_THEME_COMPONENT that have the same template identifier.
<THEME Using="cpn.theme.default.gwc" />
<THEME Using="cpn.theme.default.gwc"> <TEMPLATE Id="_default">/templatedir/deftemp.html</TEMPLATE> </THEME>
For more information, see Defining a Theme Component.