Home > Class Reference > ENSLIB namespace > %ZEN.Template.ZENMethodWizard

%ZEN.Template.ZENMethodWizard

class %ZEN.Template.ZENMethodWizard extends %ZEN.Template.studioTemplate

Studio Template.
Insert a new method to a Zen page.

Method Inventory (Including Private)

Parameters

parameter DOMAIN = %ZEN;
Domain used for localization.
parameter HELPID = GZEN_method_wizard;
Inherited description: DOCBOOK Topic Id that offers help for this template.
parameter TEMPLATEDESCRIPTION = Add a new method to a Zen class.;
Inherited description: 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 Method Wizard;
Inherited description: Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
parameter TEMPLATETITLE = Zen Method Wizard;
Inherited description: Title of the template to show in the template window.
parameter TEMPLATETYPE = cls;
Inherited description: 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.

Methods (Including Private)

method %OnAfterCreatePage() as %Status
Inherited description: 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 IsValidMethodName(pCls As %String) as %String [ ZenMethod ]
Validate that the given method name is valid.
Returns an error message if invalid.
clientmethod callbackChange(ctrl) [ Language = javascript ]
This is called when the user changes the Callback control.
clientmethod formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
clientmethod locationChange(ctrl) [ Language = javascript ]
This is called when the user changes the Location control(s).
clientmethod onstartHandler() [ Language = javascript ]
This is called when the template is first displayed; This provides a chance to set focus etc.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)