background image

Developing with JavaServer Faces Technology

<< The Custom Renderer | Properties Bound to Component Values >>
<< The Custom Renderer | Properties Bound to Component Values >>

Developing with JavaServer Faces Technology

Developing with JavaServer Faces Technology
Chapter 11, "Using JavaServer Faces Technology in JSP Pages"
shows how the page author can
bind components to server-side objects by using the component tags and core tags on the JSP
page. The application developer's responsibility is to program the server-side objects of a
JavaServer Faces application. These objects include backing beans, converters, event handlers,
and validators.
This chapter uses the Duke's Bookstore application (see
"The Example JavaServer Faces
Application" on page 319
) to explain all of the application developer's responsibilities, including
Programming properties and methods of a backing bean
Localizing an application
Creating custom converters and validators
Implementing event listeners
Writing backing bean methods to perform navigation processing and validation and handle
events
Writing Bean Properties
As explained in
"Backing Beans" on page 309
, a backing bean property can be bound to one of
the following items:
A component value
A component instance
A Converter implementation
A Listener implementation
A Validator implementation
These properties follow JavaBeans component conventions (see
"JavaBeans Components" on
page 167
).
12
C H A P T E R
1 2
379