Home » JSF Referencing Managed Bean

JSF Referencing Managed Bean

by Online Tutorials Library

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

JSF Referencing managed bean method 1

// Response Page

JSF Referencing managed bean method 2


Next TopicFacelets

You may also like