This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %ZEN.Dialog.classSelect

%ZEN.Dialog.classSelect

class %ZEN.Dialog.classSelect extends %ZEN.Dialog.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.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter APPLYBUTTON = 0;
No Apply button.
parameter AUTONS = 1;
Inherited description: If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = %ZEN;
Inherited description: Localization domain
parameter RESOURCE = %Development;
User must hold Development to use this dialog.

Properties (Including Private)

property mode as %ZEN.Datatype.string (VALUELIST = ",class", ZENURL = "mode");
What type of item to select. Passed in via URL.
Property methods: modeDisplayToLogical(), modeGet(), modeIsValid(), modeLogicalToDisplay(), modeLogicalToOdbc(), modeNormalize(), modeSet()

Methods (Including Private)

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.
clientmethod changeClass() [ Language = javascript ]
User has selected a new class name.
clientmethod changePackage() [ Language = javascript ]
User has selected a new package name.
clientmethod getDialogValue() [ Language = javascript ]
Return the value that should be returned by this dialog.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback