class %DeepSee.Report.UI.NewReportWizard
extends %ZEN.Dialog.standardDialog
Standard template for New Report within the DeepSee Report GUI.
This dialog validates the classname for both lexical correctness as
well as availability. If acceptable, the dialog returns its value in
a JavaScript object. This takes the form of:
value.pkgName : The package name
value.clsName : The Cache class name
value.appName : The Zen application associated with this report (if any)
value.rptName : The semantic name of the report
value.desc : The description detail of the report (if any)
This is a Zen Page class.
parameter DOMAIN = "%DeepSee";
Localization domain
parameter FAVORITEICON = "portal/deepsee.ico";
DeepSee favorite icon.
parameter JSINCLUDES = "zenCSLM.js";
Comma-separated list of additional JS include files for the page.
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 %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
method CreateApplicationRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %ResultSet
Create the result set used by the Application dataCombo.
method CreatePackageRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %ResultSet
Create the result set used by the Package dataCombo.
method IsValidClassName(pCls As %String)
as %String
[ ZenMethod ]
Validate that the given class name is valid.
Returns an error message if invalid.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method ondialogFinish(action)
as %Boolean
[ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons.
If this returns false, then the action is cancelled.
Check ClassName value.
method ondialogStart()
[ Language = javascript ]
This is called when the dialog is first displayed;
This provides a chance to set focus etc.
method updateState()
[ Language = javascript ]
method validateClassName()
[ Language = javascript ]