Tag jQuery

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.

This component is for use as a facelet tag. See the <rich:jQuery> EL function for access to the jQuery library via EL.

@author nick

Tag Information
Component type org.richfaces.JQuery
Tag Name rich:jQuery
Renderer Type org.richfaces.JQueryRenderer
Handler Class None

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 The jQuery selector (subset of CSS selectors defined by W3C) of the element to which the jQuery function should be applied. ID selectors starting with hash sign (#) will be expanded from componentId to clientId form. (e.g. #component is expanded to #form:component in case that component is nested in form)
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.

Output Generated by Tag Library Documentation Generator.