It's not a secret anymore!
The moose likes JSF and the fly likes Client side validation in JSF 2.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Client side validation in JSF 2.0?" Watch "Client side validation in JSF 2.0?" New topic
Author

Client side validation in JSF 2.0?

Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
Are there any built-in facilities to do client side validation for JSF 2.0 components?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17039
    
  26

In an ideal world, you'd define a validator and the JSF HTML generator would generate both client and server-side validation as long as the client had JavaScript enabled and you didn't otherwise suppress that option. You don't want client-side only because of hacking considerations.

I'm not sure how closely JSF2 approaches that ideal, however.


An IDE is no substitute for an Intelligent Developer.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Client side validation in JSF 2.0?
 
It's not a secret anymore!