Template Options Pages

Topic updated 11-6-2007

Main Project Item Templates have their own Template Options Pages. The Template Options Page of a template is used to view and edit the configuration options of the template itself, and of its child templates.

The GenWise Template System is based on hierarchies of templates. Every template defines its own set of configuration options. Most of these configuration options are managed through standardized Template Options Pages as described in this topic.

 

Template Options Pages can be opened in multiple ways in GenWise Studio:

From the Project Explorer by double clicking items, or by right-clicking an item and choosing Edit from its context menu.
From the WebForm Designer by right-clicking controls that are part of templates, and choosing Template Options - Edit from the context menu.
From the Template Tree (a tool window accompanying the WebForm Designer) by right-clicking an item and choosing Edit from the context menu.

 

Parts of a standard Template Options Page

Some templates, such as project templates have their own implementation of the Template Options Page, with a specialized user interface. Many templates use a standard layout, of which the parts are explained below.

TemplateOptionsPageExample

General tab
The General tab contains all the important configuration options of the template. The Name given to the template determines the name of generated source files, together with the naming convention set in the Class Builder.

Template tree
The top-left pane in the General tab displays a tree of templates. The template for which the Template Options Page was opened is the root item, and all child templates are displayed. The Template Actions and the Option Editor display actions and configuration options that belong to the template selected in this tree.

Template Actions
The Template Actions shown on the bottom-left of the General tab are actions that can be performed on the template selected in the Template Tree.

Option Editor
The Option Editor on the General tab contains all configuration options defined by the template selected in the Template Tree.

Options Help
The Options Help gives short explanations of options when the mouse is moved over them.

Option background colors
Template options have different colors giving status information. Read more about this in the Template System topic. Move the mouse over the four small colored squares at the bottom of the General tab to get short explanations of the colors used.

 

Comments tab
Not used. To be used in the future for generation of system documentation from GenWise projects.

Custom Properties tab
Not used. To be used for future integration of 3d party templates, tools and components into GenWise. Custom Properties will be used to allow for object properties that do not fit into the standard metadata schema used by GenWise objects.

If you want to integrate templates, tools or components with GenWise, please contact GenWise Support.

Help Info tab
Not used. To be used in the future for generation of application help from GenWise projects.

 

 

See also

Some templates provide a dedicated user interface for their configuration instead of the standard Template Options Page layout. Project Templates have their own Project Options Pages. Databound Control Templates provide the Modify Datasource dialog to configure their datasource and the templates that depend on it.

While the Template Options Pages are used to configure individual templates in GenWise projects, the Global Template Configuration can be used to configure default values per template type.