# rich

## Tag jQuery

- Description:

    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

- Component Information
  Info | Value
  --- | ---
  Component Type | `org.richfaces.JQuery`
  Display Name | None
  Handler Class | None
  Renderer Type | `org.richfaces.JQueryRenderer`
  Description | 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

- Attributes
  Name | Required | Type | Description
  --- | --- | --- | ---
  `attachType` | `false` | `javax.el.ValueExpression` (must evaluate to `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.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The value binding expression used to wire up this component to a component property of a JavaBean class
  `event` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The DOM event which should be the query bound to.
  `id` | `false` | `javax.el.ValueExpression` (must evaluate to `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` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The name of a function that will be generated to execute a query.
  `query` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The query string that is executed for a given selector.
  `rendered` | `false` | `javax.el.ValueExpression` (must evaluate to `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` | `javax.el.ValueExpression` (must evaluate to `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` | `javax.el.ValueExpression` (must evaluate to `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 Vdldoc View Declaration Language Documentation Generator.