| |||||||
FRAMES NO FRAMES |
Tag Information | |
Tag Class | org.openfaces.taglib.jsp.ajax.AjaxJspTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | |||||
Name | Required | Binding Type | EL | Default | Description |
binding | false | javax.el.ValueExpression
(must evaluate to org.openfaces.component.ajax.Ajax )
| only | null | A value-binding expression that associates the ajax with a backing bean property. |
delay | false | javax.el.ValueExpression
(must evaluate to int )
| true | 0 | Allows 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. |
disabled | false | javax.el.ValueExpression
(must evaluate to boolean )
| true | false | A value of "true" indicates the Ajax component should not be rendered. |
event | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | none | Attaches the Ajax component to the specified event of the parent component. |
execute | false | javax.el.ValueExpression
(must evaluate to java.util.List )
| true | none | Id'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. |
executeRenderedComponents | false | javax.el.ValueExpression
(must evaluate to boolean )
| true | true | Specifies 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. |
for | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | null | Allows 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. |
id | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| false | null | The component identifier. |
immediate | false | javax.el.ValueExpression
(must evaluate to boolean )
| true | false | A 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). |
listener | false | javax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent) )
| true | null | Similar 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. |
onajaxend | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | null | JavaScript code that should be executed on the client when an Ajax request is completed. |
onajaxstart | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | null | JavaScript code that should be executed on the client when an Ajax request is started. |
onerror | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | null | JavaScript code that should be executed on the client when an error occurs while performing an Ajax request. |
onevent | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| true | null | JavaScript code that should be executed on the client when an event occurred. |
render | false | javax.el.ValueExpression
(must evaluate to java.util.List )
| true | none | Id'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. |
standalone | false | javax.el.ValueExpression
(must evaluate to boolean )
| true | true | Turns 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. |
| |||||||
FRAMES NO FRAMES |