Skip to main content

%DeepSee.UI.Dialog.GetProperties

Class %DeepSee.UI.Dialog.GetProperties 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.

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");

dataSource

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

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 = {$$$TextHTML("Enter a data source Property:")} ];

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

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

transformToSQLExpression

ClientMethod transformToSQLExpression(expr) [ 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.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

GetDataSourceInfo

ClassMethod GetDataSourceInfo(pRoot As %String, Output pTree, ByRef pParms) As %Status

Provide contents of the data source tree.