BOOTSTRAP (GWC-HTML5)

Selects the bootstrap template to be used in this theme.

Attention: As of Genero version 3.00, the Snippet-Based Rendering Engine (SBRE) and all themes using template paths are deprecated. Output maps (e.g. DUA_HTML5) are no longer used to specify output theme, as the wa protocol did previously. For information on how templates and snippets were used by the front-ends, please refer to the Genero Application Server 2.50 User Guide.

For new development, use Genero Browser Client, see Genero Web Client for JavaScript (GWC-JS).

Syntax

<BOOTSTRAP Id="bootstrapId"> bootstrapPath </BOOTSTRAP>

Syntax notes

  1. bootstrapId is the unique identifier for this element.
  2. bootstrapPath is the path to the bootstrap template to be used in this theme.

Usage example

<WEB_APPLICATION_THEME_COMPONENT Id="cpn.theme.html5.gwc">
  <BOOTSTRAP Id="_default">$(res.path.tpl.html5)/bootstrap.xhtml</BOOTSTRAP>
  <TEMPLATE Id="_default">$(res.path.tpl.html5)/main.xhtml</TEMPLATE>
  <SNIPPET Id="UIFrame">$(res.path.tpl.html5)/UIFrame.xhtml</SNIPPET>
  ...
</WEB_APPLICATION_THEME_COMPONENT>

Parent elements

This element is a child of one of the following elements: THEME, WEB_APPLICATION_THEME_COMPONENT