File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

JSF Validation

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286

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 - A Test Data Generation Platform
Bill Dudney
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="" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="" target="_blank" rel="nofollow">Blog</a> | <a href="" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="" target="_blank" rel="nofollow">Eclipse 3 Live</a>
subject: JSF Validation
Similar Threads
Using JQuery JSF components together
requiredif Validation - Struts Client side validation
JSF and AJAX are just opposite
date validation
JSF - Client Side validation