Referencing a Backing Bean Method
A component tag has a set of attributes for referencing backing bean methods that can perform certain functions for the component associated with the tag. These attributes are summarized in Table 18-10.
Attribute | Function |
---|---|
action | Refers to a backing bean method that performs navigation processing for the component and returns a logical outcome String |
actionListener | Refers to a backing bean method that handles ActionEvents |
validator | Refers to a backing bean method that performs validation on the component's value |
valueChangeListener | Refers to a backing bean method that handles ValueChangeEvents |
Only components that implement ActionSource can use the ...
Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.