Skip to main content

%DeepSee.UI.Dialog.DataPropertyWizard

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

This dialog creates a new data property for a dashboard widget. (Copied from old control data property dialog).

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

JSINCLUDES

Parameter JSINCLUDES = "dsparser.js";

Properties

itemNumber

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

Index of property within parent dialog list or "" for new.

dashboardName

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

Dashboard name.

dataSource

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

Data source name.

widgetName

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

Name of widget.

widgetType

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

Type of widget, used to decide what controls to show.

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 ]

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

changeSummary

ClientMethod changeSummary() [ Language = javascript ]

Change to summary value control.

changeHidden

ClientMethod changeHidden() [ Language = javascript ]

Change to "hidden" control.

changeAutoLabel

ClientMethod changeAutoLabel() [ Language = javascript ]

Change to "autoLabel" control.

changeDisplay

ClientMethod changeDisplay() [ Language = javascript ]

Change to "display" control.

validateValue

ClientMethod validateValue(ctrl) [ Language = javascript ]

Validate the value (expression) within the given control.