TEMPLATE

TEMPLATE element identifies the main template associated with the application. Its identifier is "_default".

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

<TEMPLATE Id="_default"> templatePath </TEMPLATE>

Syntax notes

  1. templatePath is the path to the template file

Usage example

<TEMPLATE Id="_default">$(res.path.tpl.html5)/main.xhtml</TEMPLATE>

Parent elements

This element is a child of one of the following elements: THEMEWEB_APPLICATION_THEME_COMPONENT