A control that connects a standard client-side JavasScript control-model action to a parent control's or specified for control's client-side event. The following actions are available:
raise
activates the command control specified by the control
property.setDisabled
enables or disables the input control specified by the control
property, based on the value of the value
property or value
facet; true to disable, false to enable.setValue
sets the value of the control specified by the control
property to the value of the value
property or value
facet.setVisible
shows or hides the control specified by the control
property, based on the value of the value
property or value
facet; true to show, false to hide.toggle
shows the control specified by the control
property if the control is hidden, hides the control specified by the control
property if the control is visible.
Other script controls are nested inside the value
facet of this script control to provide a value for actions that require a value.
Children
com.webmethods.caf.faces.script.ControlReference
is used to specify multiple controls to invoke a client-side model action. For more information, see the Control Reference control.
Standard Facets
Defines the value used to specify an action returned from another script or defined as a ScriptParameter
. Drop the following controls into the value
facet:
com.webmethods.caf.faces.script.ScriptParameter
For more information, see the Parameter control.com.webmethods.caf.faces.script.CustomScript
For more information, see the Custom Script control.com.webmethods.caf.faces.script.GetValueScript
For more information, see the Return Value Script control.Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.component.script.InvokeClientScript |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.render.html.script.InvokeClientScriptRenderer |
Description | Script which invokes client side control actions or set properties |
Palette Location | CAF Html/Control/Scripts/Invoke Script |
Name | Description |
---|---|
value | Drop other script controls or script parameter here to provide a value |
Name | Required | Type | Description |
---|---|---|---|
action | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Target action to invoke
Valid values are:
|
control | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Target control to invoke action on |
event | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Client side event type to respond
Valid values are:
|
for | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| ID of control to which to apply this behavior |
id | false | java.lang.String | Control identifier |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
rowvariable | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Expression that resolves to the current row when using inside tables |
value | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Value to pass to the control action |
Output generated by Vdldoc View Declaration Language Documentation Generator.