Chapter 4. Introducing the PrimeFaces Client Side Validation Framework
In most of the web applications, getting input data from the user, validating, and converting the user-entered text into domain objects is an obvious process. So, JSF hooks up these common steps into a Request Processing Lifecycle of a web request. JSF provides input data conversions and validations on the server side. But many applications demand performing validations on the client side, to reduce the load on the server, as well as to provide immediate feedback on validation errors.
PrimeFaces 4.0 introduces a brand new Client Side Validation (CSV) framework, which performs input data conversions and validations on the client side which is compatible with the server-side implementation. The PrimeFaces CSV framework not only supports built-in JSF validators and converters, but also provides extension points to work with custom validators and converters.
In this chapter, we will cover:
- Configuring and using the...