Skip to main content

%ZEN.Dialog.classSelect

Class %ZEN.Dialog.classSelect Extends standardDialog [ Deprecated, System = 4 ]

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.

Parameters

DOMAIN

Parameter DOMAIN = "%ZEN";

AUTONS

Parameter AUTONS = 1;

APPLYBUTTON

Parameter APPLYBUTTON = 0;

No Apply button.

RESOURCE

Parameter RESOURCE = "%Development";

User must hold Development to use this dialog.

Properties

mode

Property mode As %ZEN.Datatype.string(VALUELIST = ",class", ZENURL = "mode");

What type of item to select. Passed in via URL.

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog.

Methods

%GetDescHTML

Method %GetDescHTML(pSeed As %String) As %Status

Provide contents of description component.

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

CreatePackageRS

Method CreatePackageRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) As %ResultSet

Create the result set used by the Package dataCombo.

CreateClassRS

Method CreateClassRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) As %ResultSet

Create the result set used by the Class listbox.

ExecuteClassRS

Method ExecuteClassRS(pRS As %Library.ResultSet, Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) As %Boolean

Execute the class listbox result set.

DrawClassItem

Method DrawClassItem(pRS As %ResultSet, pValue As %String, pText As %String) As %String

Callback for class list box.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

Return the value that should be returned by this dialog.

changePackage

ClientMethod changePackage() [ Language = javascript ]

User has selected a new package name.

changeClass

ClientMethod changeClass() [ Language = javascript ]

User has selected a new class name.