f

Tag ajax

Attributes 
NameRequiredTypeDescription
delayfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. If this option is not specified, or if the value of delay is the literal string 'none' without the quotes, no delay is used.

disabledfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)

A value of "true" indicates the AjaxBehavior should not be rendered. A value of "false" indicates the AjaxBehavior should be rendered. "false" is the default.

eventfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

A String or ValueExpression (that evalulates to a String) identifying the type of event the Ajax action will apply to. If specified, it must be one of the events supported by the component the Ajax behavior is being applied to. For HTML components this would be the set of supported DOM events for the component, plus "action" for Faces ActionSource components and "valueChange" for Faces EditableValueHolder components. If not specified, the default event is determined for the component. The DOM event name is the actual DOM event name (for example: "click") as opposed to (for example: "onclick").

executefalsejakarta.el.ValueExpression
(must evaluate to java.util.Collection)

Evaluates to Collection<String>. This is a space separated list of search expressions to components that will participate in the "execute" portion of the Request Processing Lifecycle. See the javadoc for SearchKeywordResolver for the complete list of keywords. If a literal is specified the ids must be space delimited. If not specified, the default value of "@this" is assumed. For example, @this clientIdOne clientIdTwo.

immediatefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)

If "true" behavior events generated from this behavior are broadcast during Apply Request Values phase. Otherwise, the events will be broadcast during Invoke Aplications phase

listenerfalsejakarta.el.MethodExpression
(signature must match public void processAjaxBehavior(jakarta.faces.event.AjaxBehaviorEvent event) throws jakarta.faces.event.AbortProcessingException )

Method expression referencing a method that will be called when an AjaxBehaviorEvent has been broadcast for the listener.

onerrorfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

The name of the JavaScript function that will handle errors.

oneventfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

The name of the JavaScript function that will handle UI events.

renderfalsejakarta.el.ValueExpression
(must evaluate to java.util.Collection)

Evaluates to Collection<String>. The search expressions to components that will participate in the "render" portion of the Request Processing Lifecycle. See the javadoc for SearchKeywordResolver for the complete list of keywords. If a literal is specified the identifiers must be space delimited. If not specified, the default value of "@none" is assumed. For example, @this clientIdOne clientIdTwo.

resetValuesfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)

Reset specific input values. Interpret the value of the render attribute as a space separated list of client identifiers suitable for passing directly to UIViewRoot.resetValues(). The implementation must cause an ActionListener to be attached to the ActionSource component in which this tag is nested that calls UIViewRoot.resetValues() passing the value of the render attribute as the argument.