WIZINCLUDE

WIZINCLUDE defines a file with WIZML code to be executed at this point. It is active only in Wizard template files.

Location

WIZSET can occur only in a Wizard TEMPLATE.

Function

Defines a file with WIZML code to be executed at this point. Active only in Wizard template files, not in tag definitions.

Syntax

<WIZINCLUDE TEMPLATE="template_file_name">

Whitespace around the equals sign is allowed.

Attributes

TEMPLATE Required. Reference to the file that contains further WIZML code to be executed. This can be a relative or absolute file reference; relative is relative to the currently executing file.

Usage

An included file can be shared among different Wizards, facilitating ease of maintenance. The WIZINCLUDE tag can occur in the body of a WIZLOOP construct, allowing the same code to be executed repeatedly, but with different variable vales.

Examples

This is used in the Table Wizard; the included code is executed as often as the number of rows defined by the user.

<WIZINCLUDE TEMPLATE = "Table_Row.wml">

top