The <rich:componentControl> behavior allows JavaScript API functions to be called on target components. The functions are called after defined events are triggered on the component to with the <rich:componentControl> behavior is attached. Initialization variants and activation events can be customized, and parameters can be passed to the target component.
@author Anton BelevichInfo | Value |
---|---|
Behavior ID | org.richfaces.behavior.ComponentControlBehavior |
Handler Class | org.richfaces.taglib.ComponentControlHandler |
Description | The <rich:componentControl> behavior allows JavaScript API functions to be called on target components. The functions are called after defined events are triggered on the component to with the <rich:componentControl> behavior is attached. Initialization variants and activation events can be customized, and parameters can be passed to the target component. @author Anton Belevich |
Name | Required | Type | Description |
---|---|---|---|
event |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of JavaScript event property (click, change, etc.) of parent component that triggers the behavior. If the event attribute is not defined, the behavior is triggered on the event that normally provides interaction behavior for the parent component |
onbeforeoperation |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript invoked just before the operation will be invoked on target component. |
operation |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| The function of JavaScript API that will be invoked on the target components (selected with target or selector attributes). |
selector |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| jQuery selector (CSS selector with jQuery extensions) which finds target component which will be the operation fired on. |
target |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Comma-separated list of component IDs of components which will be the operation fired on. (Alternatively you can use selector attribute). |
Output generated by Vdldoc View Declaration Language Documentation Generator.