class %ZEN.Template.ZENStyleWizard
extends %ZEN.Template.studioTemplate
Studio Template:
Override a style declaration within a Style block.
This is a Zen Page class.
parameter DOMAIN = "%ZEN";
Domain used for localization.
parameter HELPID = "GZEN_style_wizard";
DOCBOOK Topic Id that offers help for this template.
parameter TEMPLATEDESCRIPTION = "Inserts a CSS Style declaration within a Style block.";
Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATEMODE = "template";
What type of template.
parameter TEMPLATENAME = "Zen Style Wizard";
Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATETITLE = "Zen Style Wizard";
Title of the template to show in the template window.
parameter TEMPLATETYPE = "cls";
Comma separated list of 'CSP', 'CSR', 'MAC', 'INT', 'INC',
'BAS', 'CLS' to say what type of code this template
generates; CSP, CSR, Routine, or Class code.
You can also specify '*' for all types.
method %GetDescHTML1(pSeed As %String = "")
as %Status
Draw descriptive text for page 1.
method %GetDescHTML2(pSeed As %String = "")
as %Status
Draw descriptive text for page 2.
method %GetSampleHTML(pSeed As %String = "")
as %Status
Draw html to show in Sample box.
method %GetStyleTableHTML(pSeed As %String = "")
as %Status
Draw set of styles for Style HTML table.
method %OnAfterCreatePage()
as %Status
This callback is called after the server-side page
object and all of its children are created.
Subclasses can override this to add, remove, or modify
items within the page object model, or to provide values
for controls.
method %OnTemplateAction()
as %Status
This method is called when the template is complete. Any
output to the principal device is returned to the Studio.
method canGoBack()
[ Language = javascript ]
Return true if this template can go to the previous page (i.e., enable
the Back button).
method canGoNext()
[ Language = javascript ]
Return true if this template can go to the next page (i.e., enable
the Next button).
method formValidationHandler()
[ Language = javascript ]
Validation handler for form built-into template.
method hasMultiplePages()
[ Language = javascript ]
Return true if this template has more than one "page".
This will display Back and Next buttons.
This is implemented by subclasses.
method nextPage()
[ Language = javascript ]
Go to the next page of the template (if there is one).
method onPopupAction(popupName, action, value)
[ Language = javascript ]
This client event, if present, is fired when the a popup page
launched from this page fires an action.
method onstartHandler()
[ Language = javascript ]
This is called when the template is first displayed;
This provides a chance to set focus etc.
method previousPage()
[ Language = javascript ]
Go to the previous page of the template (if there is one).
method rowClick(row)
[ Language = javascript ]
User has clicked on a row in the style table
method showStyleEditor()
[ Language = javascript ]
Launch property editor.
method tabChange(tabGroup)
[ Language = javascript ]
Notification that a new tab was selected.
method updateSample()
[ Language = javascript ]
Update the sample div.