class %ZEN.Template.ObjectGatewayWizard.Template
extends %ZEN.Template.studioTemplate
Template for Gateway Wizards.
This is a Zen Page class.
parameter DOMAIN = "%ZEN";
Domain used for localization.
parameter TEMPLATEMODE = "addin";
What type of template.
parameter TEMPLATETYPE = "*";
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.
property CSPSessionCookie
as %String [ InitialExpression = %session.CSPSessionCookie ];
%session.CSPSessionCookie passed as CSPCHD for Browse dialog
property isExit
as %Boolean [ InitialExpression = 0 ];
After user clicks the Finish button, the caption of button Finish becomes Exit,and isExit becomes 1.
If btnFinish is clicked when isExit = 1 then we exit out of the wizard.
property lblExit
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Exit") ];
property lblFinish
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Finish") ];
property lblNoRespond
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Gateway did not respond!") ];
property lblNotExist
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("File does not exist!") ];
classmethod CheckAllBlanks(string)
as %Boolean
[ ZenMethod ]
method validateRequired(ctl, pass, type)
as %Boolean
[ Language = javascript ]
validate the control value. pass is either "true" or "false" indicating if there is already a field failed pass validation.