Skip to main content

%DeepSee.UI.Dialog.GetList

Class %DeepSee.UI.Dialog.GetList Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog lets the user add or edit a list for definition.
An existing list (delimited by comma) may be passed in.
If WHAT is not 'MemberList' this this dialog only provide one textarea for you to edit one field.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");

Cube name.

ELEMENT

Property ELEMENT As %ZEN.Datatype.string(ZENURL = "ELEMENT");

Expression

Property Expression As %ZEN.Datatype.string(ZENURL = "VALUE");

WHAT

Property WHAT As %ZEN.Datatype.string(ZENURL = "WHAT");

itemNumber

Property itemNumber As %ZEN.Datatype.integer [ InitialExpression = "1" ];

msgHasEmpty

Property msgHasEmpty As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("There is at least one empty field. Proceed?")} ];

lblProperty

Property lblProperty As %ZEN.Datatype.caption [ InitialExpression = {$$$Text("Enter a data source Property:")} ];

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

addItem

ClientMethod addItem() [ Language = javascript ]

Add a new row

clearItem

ClientMethod clearItem(itemNumber) [ Language = javascript ]

%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.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogFinish

ClientMethod 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.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

This client event, if present, is fired when the page is loaded.