class EnsPortal.Component.sqlParametersTable
extends %ZEN.Component.composite
parameter DOMAIN = "Ensemble";
parameter USECOMMONDIRECTORY = 1;
If true, then the include files generated for this component, are placed in the
common /csp/broker directory and not the local /csp/*namespace* directory.
This is intended for use with packages that are mapped so as to be visible to every namespace.
All Zen classes within the same package must have the same value for this parameter.
It is the developer's responsibility to ensure this.
property classSettingName
as %String;
property containerClass
as %String;
property currParam
as %String;
property currParamNum
as %Integer [ InitialExpression = 0 ];
property inParamInfo
as %Boolean [ InitialExpression = 0 ];
property params
as %String(MAXLEN="");
property prependAsterix
as %Integer [ InitialExpression = 0 ];
property query
as %String;
property querySetting
as %String;
property readOnly
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
method GetContents()
as %String
[ ZenMethod ]
Get the contents of the Parameters table
classmethod GetParamsToDisplay(pParams="")
as %String
[ ZenMethod ]
method addParam()
[ Language = javascript ]
method createChildren(form)
[ Language = javascript ]
Create children on client side so we can use them immediately. Note that the server may substitute fresh code-generated objects later.
method deleteParam(pNumber)
as %Boolean
[ ZenMethod ]
method getForm()
[ Language = javascript ]
method getProperty(property, key)
as %String
[ Language = javascript ]
Return the value of a named property (i.e. a setting).
Returns null if this is not a property of this object.
key is an optional argument used for properties
(such as collections) that may need a key to find a specific value.
final method getValue()
[ Language = javascript ]
method refreshParams()
[ Language = javascript ]
Refresh the table which displays the Parameters to use
method saveParam(pNumber As %Integer, pValue As %String = "")
as %Boolean
[ ZenMethod ]
method setCurrParam(switchTo)
[ Language = javascript ]
Set a particular parameter to be editable
method setModified()
[ Language = javascript ]
Call on Production Config page's settingChanged() so that it recognizes this change
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
Assume that subclasses that simply wrap HTML controls
have named the control 'control' or else have overridden
this method.
final method setValue(value, value2)
[ Language = javascript ]
Client-side method to set the value associated with this control.
value2 is an optional, second parameter used by some controls
(such as dataCombo).
method showParamInfo(param, paramnum)
[ Language = javascript ]
User clicked the Browse button.
Helper method to wrap the main helper popup() function in the containing page (Production Config).
method switchCurrParam(switchTo, value)
[ Language = javascript ]
If there is a parameter being edited, save that first before making another parameter editable
Then set the new parameter to be editable
method uiDeleteParam(paramNum, id)
[ Language = javascript ]