Skip to main content

%DeepSee.UI.Dialog.DashboardEditDefaultValue

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

This dialog lets the user edit a default value for a control within a Dashboard widget.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

dashboardName

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

Dashboard name.

dataSource

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

Data source name.

defaultValue

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

Default value.

defaultText

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

Display text to be presented to the user. This is primarily used as a return value.

filterName

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

Current filter name.

currMode

Property currMode As %ZEN.Datatype.string;

Current mode: filter or setting.

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

DrawOverview

Method DrawOverview(pSeed As %String) As %Status

Draw overview content.

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

rbChanged

ClientMethod rbChanged() [ Language = javascript ]

User selected a radio button.

updateControls

ClientMethod updateControls() [ Language = javascript ]

Update controls to match current state.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status