-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Can I do client-side validation with JSR 303 in JSF 2.0?
PostPosted: Tue Nov 03, 2009 5:23 pm 
Newbie

Joined: Tue Sep 20, 2005 3:51 pm
Posts: 18
Location: Boston, MA
Hello All,
I just got a proof of concept application working with JSF 2.0, facelets, Weld, and JSR 303. It's working great with server side validation. It's very impressive how easy it is to use.

Can I get it to trigger client-side JavaScript validation?
Are there examples or documentation anywhere for me to consult?

Thanks,
Steven


Top
 Profile  
 
 Post subject: Re: Can I do client-side validation with JSR 303 in JSF 2.0?
PostPosted: Sat Aug 14, 2010 2:53 am 
Newbie

Joined: Sat Aug 14, 2010 12:45 am
Posts: 3
I have no more experience about this but as I learned in my academic schedule validation in web apps is essential, it would be nice if CDI/Weld supported the same validations that Seam 2.x supports: business validation via custom classes and Hibernate Validators with <s:validate>. I hope I am in right way rather then that any have more idea then always welcome.

_________________
Life is either a daring adventure or nothing.


Top
 Profile  
 
 Post subject: Re: Can I do client-side validation with JSR 303 in JSF 2.0?
PostPosted: Wed Dec 21, 2011 3:33 am 
Beginner
Beginner

Joined: Fri Jan 23, 2009 10:34 am
Posts: 25
Location: Switzerland
While all JSF2 implementation provide JSR-303 Bean Validation on the server side, not all implementations provide it on the client side (i.e. client-side validation or CSV).

Implementations supporting client-side validation:

Implementations not supporting client-side validation:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.