Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

The Template Function Suite

In WML, a Deck may include a Template section specifying actions to be shared by all Cards in the Deck.  This Template section is reflected in Websydian Enterprise WAP by a _Template function automatically being scoped under each Deck Generator.

By including WAP Event Handlers and Jump functions under the Template function, a Template section containing the corresponding menu action will automatically be created in the generated WML Deck Template.

More Information

The Implementing Deck Generator Functions page also describes the use of the Template function to specify common actions.

It is possible to overwrite common Template actions at Card-level – see Overwriting and Omitting Common Template Actions in the Other Uses of the Card Generator section.