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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-3450-0_11
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-3449-4
Online ISBN: 978-1-4302-3450-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)