JSF Referencing Managed Bean Method
Referencing Attributes
Attribute |
Function |
action |
It is used to refer a managed bean method that performs navigation processing for the component and returns a logical outcome String. |
actionListener |
It is used to refer a managed bean method that handles action events. |
validator |
It is used to refer a managed bean method that performs validation on the component's value. |
valueChangeListener |
It is used to refer a managed bean method that handles value-change events. |
Referring Bean Method
// index.xhtml
// User.java
// response.xhtml
Output:
// index Page
// Response Page
|