Friday February 28, 2003
RE: A Better Way to Validate
Hmmm, Patrick seems to be doing the same thing I am - generating ActionForms from POJOs with XDoclet. I wonder if he's using my patch or if he's found another way?
Also, he asks if there's a better way to validate:
My ideal way to validate would be to add xdoclet tags right to my domain model to handle validation.
I guess I'm here to brighten your day then - this is exactly what I'm doing with struts-resume. Check it out: User.java contains @struts.validator tags that are pushed into the generated ValidatorForm via a custom struts_form.xdt (xdoclet) template. Enjoy!
Posted in Java
at Feb 28 2003, 10:14:32 AM MST
Add a Comment
Search This Site
Recent Entries
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney