componentControl (RichFaces JSF components library Tag library documentation)
Keywords: $title

Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag componentControl

Tag Information
Tag Class | org.richfaces.taglib.ComponentControlTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
attachTiming | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines an Id of a component or HTML element listened by the control component
attachTo | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Client identifier of the component or id of the existing DOM element that is a source for given event. If attachTo is defined, the event is attached on the client according to the AttachTiming attribute. If attachTo is not defined, the event is attached on the server to the closest in the component tree parent component.
binding | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute takes a value-binding expression for a component property of a backing bean
disableDefault | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Disable default action for target event ( append "return false;" to javascript )
event | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The Event that is used to trigger the operation on the target component
for | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Client identifier of the target component.
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
name | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The optional name of the function that might be used to trigger the operation on the target component
operation | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The function of Javascript API that will be invoked. The API method is attached to the 'component' property of the root DOM element that represents the target component. The function has two parameters - event and params. See: 'params' attribute for details.
params | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The set of parameters passed to the function of Javascript API that will be invoked. The JSON syntax is used to define the parameters, but without open and closed curve bracket. As an alternative, the set of f:param can be used to define the parameters passed to the API function. If both way are used to define the parameters, both set are concatenated. if names are equals, the f:param has a priority.
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.