I have to admit, Thanksgiving is one of the best American holidays there is. No gift giving, no marketing hype - just good food and hanging out with friends and family. This year, we took a break from the norm and canceled our trip to Florida - instead opting to stay home and relax a bit. We're certainly glad we did as things are much less stressed and we had a great dinner with friends this evening.
Like previous years, I have a lot to be thankful for. I owe you, the readers of this blog, a huge thanks. Your comments and feedback are always appreciated. I also owe a big thanks to Virtuas for hooking me up with a kick-ass job and fun folks to work with.
Last, but certainly not least - I'd like to thank Julie, Abbie and Jack. You guys are the best part of this whole world and make it tremendously fun to live in.
Happy Turkey Day Y'all!
Are you doing client-side validation in your JSF application? I am in Equinox and AppFuse, but it seems somewhat primitive. I'm using David Geary's corejsf-validator.jar from his Core JSF book. It hooks into Commons Validator, and while it does work - it has some issues.
First of all, if you have it in your classpath when testing, it screws up Ant-style path matching in Spring (applicationContext*.xml doesn't work). Secondly, it puts all the JavaScript validation functions right in your page, rather than in an external file that can be cached by your browser.
In reality, I believe that JSF should include client-side validation as part of the spec. After all, all of the other popular Java web frameworks support it. Then again, Rails is growing in popularity and AFAIK, it doesn't support it. In addition, the popular Java webapps I've seen (JIRA, Confluence, Jive Forums) don't use it either. I'm not trying to advocate that we should all be using client-side validation in our apps, I'm merely saying it should be an option in the standard web framework for Java.
The only public (and open source) option I've found is the Commons Validator support in Shale. Will this work in a MyFaces application w/o Shale? Are there other client-validation frameworks for JSF I don't know about? Or is the best option "don't use client-side validation with JSF?"