O'Reilly logo

JSF 1.2 Components by Ian Hlavats

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

Client-side conversion and validation

There are a number of ways by which the Trinidad framework can enhance the interactivity and improve the performance of a JSF web application. One of those ways is through the use of client-side form validation. This concept is not new, and there are many JavaScript examples on the Internet that demonstrate how to convert and validate form fields in the browser before the form data is submitted to the server.

What is interesting is how easy it is to enable client-side form conversion and validation for built-in components using the Trinidad framework. Trinidad also allows us to create our own custom client-side converters and validators through a set of Java and JavaScript interfaces. Let's look at how to ...

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