C H A P T E R  11

Rich Validation

Validating user input is a major part of any web application. JSF provides a number of tags to enable basic validation and makes it pretty easy to build custom validators. JSF 2 makes validation even simpler by providing out-of-the-box support for popular Bean Validation (JSR 303). RichFaces takes validation to the next level and extends Bean Validation by providing client-side validation. Client-side validation allows validation to be performed on the client based on Bean Validation constraints. This is a must-have feature for high-performance enterprise web sites. In addition to client-side validation, RichFaces also provides a cross-field or object validation feature where one or two fields can be validated ...

Get Practical RichFaces, 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.