o
Tag ajax




Tag Information
Tag Classorg.openfaces.taglib.jsp.ajax.AjaxJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.ajax.Ajax)
onlynullA value-binding expression that associates the ajax with a backing bean property.
delayfalsejavax.el.ValueExpression
(must evaluate to int)
true0Allows reducing the number of Ajax requests by skipping the frequently-happinging events. This attribute specifies the delay in milliseconds that should elapse after an event that activates this component to start an actual request for reloading components (and invoking an appropriate action if specified). If there will be another event during this delay, this event will postpone the request according to the specified delay instead of performing an additional request. As a result there will be only one request for all events that come more frequently than specified in this attribute.
disabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA value of "true" indicates the Ajax component should not be rendered.
eventfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenoneAttaches the Ajax component to the specified event of the parent component.
executefalsejavax.el.ValueExpression
(must evaluate to java.util.List)
truenoneId's of components whose data should be submitted and processed on the server in addition to the reloaded components. The difference with render is that components listed in execute will just process the submitted data, but won't be rerendered. This can often be needed when the reloaded data depends on some other component on a page. Evaluates to Iterable. If a literal is specified can be a single id or a comma-separated list if id's.
executeRenderedComponentsfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueSpecifies whether the components listed in the "render" attribute undergo the "execute" lifecycle (Restore View, Apply Request Values, Process Validations and Update Model Values) phases as if these components are implicitly specified in the "execute" attribute as well.
forfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullAllows attaching this Ajax component to an arbitrary component or HTML tag instead of attaching to the parent component. This attribute specifies ID of the JSF component or of any HTML element to which this component should be attached to. It should be defined in the same way as the "for" property of the standard HTMLOutputLabel component.
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe component identifier.
immediatefalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not actionListener should be executed immediately (during the Apply Request Values phase of the request processing lifecycle instead of Process Validations phase).
listenerfalsejavax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent))
truenullSimilar to the "actionListener" attribute of the HTMLCommandButton component. A MethodBinding that should point to an action listener that is called when the user fire an event.
onajaxendfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when an Ajax request is completed.
onajaxstartfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when an Ajax request is started.
onerrorfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when an error occurs while performing an Ajax request.
oneventfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when an event occurred.
renderfalsejavax.el.ValueExpression
(must evaluate to java.util.List)
truenoneId's of components, which will be rerendered after successful Ajax request. Evaluates to Iterable. If a literal is specified can be a single id or a comma-separated list if id's.
standalonefalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueTurns on the "standalone" mode where the Ajax component is not attached to other component automatically, and can be used via the public API instead. The default value is false, which means that the component is attached to the parent component, or a component referred to by the "for" attribute if it is specified.

Variables
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.