| Attributes |
| Name | Required | Request-time | Type | Description |
| events | yes | false | java.lang.String | List of "," separated events to listen for. (e.g) events="click[, keydown, ...]". Note that events will only be captured by this component if they have not been previously consumed by another element in the form. |
| handler | no | false | java.lang.String | The JavaScript callback function to be invoked when a registered event occurs. |
| action | no | true | java.lang.String | MethodExpression representing the application action to invoke when a registered event is captured by this component. The expression must evaluate to a public method that takes no parameters, and returns an Object (the toString() of which is called to derive the logical outcome) which is passed to the NavigationHandler for this application. |
| actionListener | no | true | java.lang.String | MethodExpression representing an action listener method that will be notified when a registered event is captured by this component. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed that "some action happened". |