Skip to main content

%DeepSee.UI.Dialog.ControlWizard

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

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

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

controlNumber

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

Index of control 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.

widgetNames

Property widgetNames As %ZEN.Datatype.csv(ZENURL = "WIDGETNAMES");

List of all widget names.

defaultTarget

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

This provides the ability to initialize the Target field on load.

defaultCtrlValue

Property defaultCtrlValue As %ZEN.Datatype.string;

Logical value of the control default

defaultCtrlText

Property defaultCtrlText As %ZEN.Datatype.string;

Display text of the control default

actionTypes

Property actionTypes As list Of %ZEN.Datatype.string;

List of action types.

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.

updateForm

ClientMethod updateForm(val) [ Language = javascript ]

Updates the datasources field in the control wizard when the user picks a data source from a finder dialog.

controlTypeChange

ClientMethod controlTypeChange(type) [ Language = javascript ]

User selected a new control type.

actionChange

ClientMethod actionChange(clear) [ Language = javascript ]

User selected a new action type.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

changeProperty

ClientMethod changeProperty() [ Language = javascript ]

Change of filter property.

browseDashboards

ClientMethod browseDashboards() [ Language = javascript ]

Launch the dashboard finder.

browseTermLists

ClientMethod browseTermLists() [ Language = javascript ]

browseDataSources

ClientMethod browseDataSources() [ Language = javascript ]

showDefaultValueEditor

ClientMethod showDefaultValueEditor() [ Language = javascript ]

Launch the value editor.

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

This client event is fired when the a popup page launched from this page fires an action.