aspose file tools*
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
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: 15641
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client side validation in JSF 2.0?
 
Similar Threads
JavaServer Faces in Action: Reader question
Client side Javascript validation in JSF?
Client side validation in JSF
validating forms
JSF Validation