class %ZEN.Dialog.classSelect
extends standardDialog
This utility dialog window displays and lets the user select from
a set of class definitions.
The user must have Use privileges for the %Development resource
in order to use this page.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
No Apply button.
parameter AUTONS = 1;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = "%ZEN";
Localization domain
parameter RESOURCE = "%Development";
User must hold Development to use this dialog.
property mode
as %ZEN.Datatype.string(VALUELIST=",class",ZENURL="mode");
What type of item to select. Passed in via URL.
method %GetDescHTML(pSeed As %String)
as %Status
Provide contents of description component.
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 CreateClassRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %ResultSet
Create the result set used by the Class listbox.
method CreatePackageRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %ResultSet
Create the result set used by the Package dataCombo.
method DrawClassItem(pRS As %ResultSet, pValue As %String, pText As %String)
as %String
Callback for class list box.
method ExecuteClassRS(pRS As %Library.ResultSet, Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %Boolean
Execute the class listbox result set.
method changeClass()
[ Language = javascript ]
User has selected a new class name.
method changePackage()
[ Language = javascript ]
User has selected a new package name.
method getDialogValue()
[ Language = javascript ]
Return the value that should be returned by this dialog.