Tag componentControl

The <rich:componentControl> allows to call JavaScript API functions on components after some defined events.

Tag Information
Tag Classorg.richfaces.taglib.ComponentControlTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

(must evaluate to java.lang.String)
Defines the page loading phase when componentControl is attached to another component. Default value is "onavailable"
(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.
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
(must evaluate to boolean)
Disable default action for target event. If the attribute is not set, it's made "true" by default if the event oncontextmenu is used and false in all other cases. if the attribute set, its value is used.
(must evaluate to java.lang.String)
The Event that is used to trigger the operation on the target component
(must evaluate to java.lang.String)
Client identifier of the target component.
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
(must evaluate to java.lang.String)
The optional name of the function that might be used to trigger the operation on the target component
(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.
(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.
(must evaluate to boolean)
If "false", this component is not rendered

No Variables Defined.

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.