Chapter 6. Conversion and Validation
“Overview of the Conversion and Validation Process” on page 219
“Using Standard Converters” on page 221
“Using Standard Validators” on page 233
“Programming with Custom Converters and Validators” on page 240
In this chapter, we discuss how form data is converted to Java objects and how the conversion results are checked for correctness. The JSF container carries out these steps before updating the model, so you can rest assured that invalid inputs will never end up in the business logic.
We first look at the concepts behind the conversion and validation process. Then we discuss the standard tags that JSF provides for conversion and validation. These tags ...
Get Core JavaServer Faces, 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.