Forums Register Login

Client side validation in JSF 2.0?

+Pie Number of slices to send: Send
Are there any built-in facilities to do client side validation for JSF 2.0 components?
+Pie Number of slices to send: Send
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.
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2634 times.
Similar Threads
Client side validation in JSF
JSF Validation
validating forms
JavaServer Faces in Action: Reader question
Client side Javascript validation in JSF?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 21:58:31.