SNIPPET

The SNIPPET element associates a snippet object identifier with a template to be used by the Genero Web Client snippet-based rendering engine when rendering forms that include the specified object.

Syntax

<SNIPPET Id="snipId" Style="mystyle"> snippath </SNIPPET>

Syntax notes

  1. snipId is the object identifier

  2. mystyle is the value of the STYLE attribute

  3. snippath is the path to the template snippet file

Usage Example

<SNIPPET Id="Edit" Style="FileUpload">
 $(res.path.tpl.html5)/FileUpload.xhtml</SNIPPET>

Code Example

EDIT f01 = formonly.f01, STYLE="FileUpload";

For more information, refer to the Genero Web Client User Guide.