class EnsPortal.Component.ruleSelector
extends %ZEN.Component.composite, EnsPortal.Util.PageLinks
A composite control containing a Selector for a Rule, a Details image button, and a link to the Rule Editor page
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.
classmethod GetClassName(id As %String)
as %String
[ ZenMethod ]
Get the class name (in case what's been selected is an alias which is invalid as a class name).
If the id is already a class name, that class name will be returned as the return value.
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 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 ]
final method onRefreshContents()
[ Language = javascript ]
The server has just installed us as a fresh code-generated component. Recover the old value and replace ourselves in the page list.
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 showRuleDetails()
[ Language = javascript ]
Launch the profile info dialog.