posted 14 years ago
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.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.