%DeepSee.UI.Dialog.GetResource
Class %DeepSee.UI.Dialog.GetResource Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets user select a resource.
If an existing resource is passed in it is set to be selected from the table.
Parameters
CSSINCLUDES
Parameter CSSINCLUDES = "/csp/sys/intersystems.css";
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");
CurrentResource
Property CurrentResource As %ZEN.Datatype.string(ZENURL = "VALUE");
WHAT
Property WHAT As %ZEN.Datatype.string(ZENURL = "WHAT");
numRows
Property numRows As %ZEN.Datatype.integer [ InitialExpression = "0" ];
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 ]
getCBValues
ClientMethod getCBValues() [ Language = javascript ]
Currently this only returns one selection (radio button)
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
DrawTable
Method DrawTable(seed As %String) As %Status
Start action and server method will pump out result.