First page Back Continue Last page Graphics

JSF Value Binding


JSF Value Binding

The two different types of binding expressions in JSF are value binding expressions and method binding expressions. Value binding expressions can be used inside JSF components to:

Automatically instantiate a JavaBean and place it in the request or session scope

Override the JavaBean’s default values through its accessor methods

Traverse an object tree using an easy-to-learn Document Object Model (DOM) notation

Quickly retrieve Map, List, and array contents from a JavaBean

Synchronize form contents with value objects across a number of requests