Skip to main content

Rich Validation

  • Chapter
Practical RichFaces
  • 289 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Max Katz and Ilya Shaikovsky

About this chapter

Cite this chapter

Katz, M., Shaikovsky, I. (2011). Rich Validation. In: Practical RichFaces. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3450-0_11

Download citation

Publish with us

Policies and ethics