Attributes |
Name | Required | Request-time | Type | Description |
disabled | no | false | boolean | Disables ajax behavior. |
event | no | false | java.lang.String | Name of the event that will trigger the ajax request. |
execute | no | false | java.lang.String | Component(s) to execute in the ajax request. The format is the same as that of the f:ajax tag. |
immediate | no | false | boolean | Boolean value that determines the phaseId, when true actions are processed at apply_request_values, when false at invoke_application phase. If not specified, the component's immediate value is applied. |
listener | no | false | javax.el.MethodExpression | Method to process in partial request. |
onComplete | no | false | java.lang.String | Javascript handler to execute when the ajax request is completed. It is passed the 'args' argument, containing ACE callback parameters such as 'validationFailed'. |
onError | no | false | java.lang.String | Javascript handler to execute when the ajax request fails. It is passed the 'status' and 'error' arguments, containing the returned server status code and error message, respectively. |
onStart | no | false | java.lang.String | Javascript handler to execute before the ajax request begins. It is passed the 'cfg' argument, containing the ajax request configuration to be modified before the request is sent. The function has to return 'true' to continue with the ajax request; if 'false' or nothing is returned, the ajax request will be aborted. |
onSuccess | no | false | java.lang.String | Javascript handler to execute when the ajax request succeeds. It is passed the 'data' argument, containing the XML content of the entire JSF response. |
render | no | false | java.lang.String | Component(s) to render in the ajax rquest. The format is the same as that of the f:ajax tag. |