Template Tag
Purpose
The GEN:Template tag allows you indicate the type of a page
template file. The template is used by
the Application Wizard to determine how to create a new HTML layout page file.
Used In
Page Templates only. The
Template tag cannot be used in an HTML layout page file.
Code Generation Tag Attributes
|
Attribute
|
Required
|
Description
|
|
Type
|
Yes
|
The
following types can be specified:
|
AddOneRecord
|
A
template file that allows you to create a layout page that can be used to
add a new record to the database.
|
|
EditOneRecord
|
A
template file that allows you to create a layout page that can be used to
edit an existing record from the database in a table.
|
|
EditMultipleRecords
|
A
template file that allows you to create a layout page that can be used to
edit multiple records from the database.
|
|
ViewOneRecord
|
A
template file that allows you to create a layout page that can be used to
show one record from the database.
|
|
ViewMultipleRecords
|
A
template file that allows you to create a layout page that can be used to
show multiple records from the database in a table.
|
|
Examples
<GEN:Template
Type=”ViewOneRecord”/>