The <rich:jQuery> component applies styles and custom behavior to both JSF (JavaServer Faces) objects and regular
DOM (Document Object Model) objects. It uses the jQuery JavaScript framework to add functionality to web applications.
@author nick
Attributes |
Name |
Required |
Type |
Description |
attachType |
false |
org.richfaces.component.JQueryAttachType |
The type of the attachment - decides about how is operation attached to the selected elements: "bind" (default - binds to
the selected elements immediately, elements which could be matched by selector in the future won't be considered - offers
a best performance), "live" (attach an event handler for all elements which match the current selector, now and in the future
- may cause a slow performance), "one" (attach a handler to an event for the elements, the handler is executed at most once
per element)
|
binding |
false |
javax.faces.component.UIComponent |
The value binding expression used to wire up this component to a component property of a JavaBean class |
event |
false |
java.lang.String |
The DOM event which should be the query bound to. |
id |
false |
java.lang.String |
The component identifier for this component. This value must be unique within the closest parent component that is a naming
container.
|
name |
false |
java.lang.String |
The name of a function that will be generated to execute a query. |
query |
false |
java.lang.String |
The query string that is executed for a given selector. |
rendered |
false |
boolean |
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent
form submit. The default value for this property is true.
|
selector |
false |
java.lang.String |
Selector for query. The "selector" attribute uses defined by w3c consortium syntax for CSS rule selector with some jQuery
extensions.
|
timing |
false |
org.richfaces.component.JQueryTiming |
The timing of the jQuery attachment: "domready" (when DOM is ready), "immediate" (immediately after component client-side
code is processed). This attribute is ignored when attribute "name" is provided.
|