Rich Validation

  • Max Katz
  • Ilya Shaikovsky

Abstract

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 musthave 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 together. That’s exactly what we are going to cover in this chapter.

Keywords

Nism 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Max Katz and Ilya Shaikovsky 2011

Authors and Affiliations

  • Max Katz
  • Ilya Shaikovsky

There are no affiliations available

Personalised recommendations