Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Validation

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bill Dudney
Author
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic