my dog learned polymorphism*
The moose likes JSP and the fly likes JSF Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSF Validation" Watch "JSF Validation" New topic
Author

JSF Validation

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Do the validation Components in JSF use the Jakarta Validation framework, or has Sun created it's own implementation for validation?
Also, is the validation client side or server side? What I mean is, when I add the validation tags to the UIComponents in the HTML page, does that get rendered to Javascript or does the request go back to the server for validation?


GenRocket - Experts at Building Test Data
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
JSF does not use the commons-validation.jar as far as I know.
The validation is server side in the RI but its easy enough to imagine an implementation that makes JavaScript for client side validation.
Hope this helps.


TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
 
wood burning stoves
 
subject: JSF Validation
 
Similar Threads
JSF - Client Side validation
requiredif Validation - Struts Client side validation
date validation
Using JQuery JSF components together
JSF and AJAX are just opposite