WIZINCLUDE

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

The following subjects are covered in this document:


Related information about VTML and WIZML:

Tutorial
The Visual Tool Markup Language (VTML)
Reference
VTML reference - overview
Context
The WIZML Language
Related tags
TEMPLATE

top

Tools

WIZINCLUDE plays a role in the following VTML-driven tools:

  1. Wizard

top


Location

WIZSET can occur only in a Wizard TEMPLATE.

top


Function

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

top


Syntax

<WIZINCLUDE TEMPLATE="template_file_name">

Whitespace around the equals sign is allowed.

top


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.

top


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.

top


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