class %DeepSee.UI.Dialog.DashboardEditDataProperty
extends %DeepSee.UI.Dialog.standardDialog
This dialog adds (or edits) a new data property definition to a DeepSee dashboard widget.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
parameter JSINCLUDES = "dsparser.js";
Comma-separated list of additional JS include files for the page.
property dashboardName
as %ZEN.Datatype.string(ZENURL="DASHBOARD");
Dashboard name.
property dataSource
as %ZEN.Datatype.string(ZENURL="DATASOURCE");
Data source name.
property itemNumber
as %ZEN.Datatype.string(ZENURL="NUMBER");
Index of property within parent dialog list or "" for new.
property widgetName
as %ZEN.Datatype.string(ZENURL="WIDGETNAME");
Name of widget.
property widgetType
as %ZEN.Datatype.string(ZENURL="WIDGETTYPE");
Type of widget, used to decide what controls to show.
method %OnAfterCreatePage()
as %Status
Be sure to do ##super() when overriding.
method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
method changeAutoLabel()
[ Language = javascript ]
Change to "autoLabel" control.
method changeDisplay()
[ Language = javascript ]
Change to "display" control.
method changeHidden()
[ Language = javascript ]
Change to "hidden" control.
method changeSummary()
[ Language = javascript ]
Change to summary value control.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method 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.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method validateValue(ctrl)
[ Language = javascript ]
Validate the value (expression) within the given control.