O'Reilly logo

PrimeFaces Cookbook - Second Edition by Oleg Varaksin, Mert Çalışkan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Client-side Validation

In this chapter, we will cover the following topics:

  • Configuring and getting started with CSV
  • Instant validation with p:clientValidator
  • Bean Validation and transformation
  • Extending CSV with JSF
  • Extending CSV with Bean Validation

Introduction

Validation exists to ensure that the application is robust against all forms of input data. Invalid data can cause unexpected execution errors, break assumptions elsewhere in your application, introduce errors, and even let someone hijack your data to attack your software. Every software should have server-side validation.

In addition, validation on the client side enables quick feedback for the users without a round trip to the server. That means client-side validation is faster ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required