You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/05/02 21:29:14 UTC

validator inheritance

I am discovering as I write applications that I am having to
duplicate validation rules more often then I am creating new ones.
For instance, I have close to 5 forms in my application where an
address has to be entered.  I use the nested tags to store the
address in the form, but for each form I have to copy and paste the
requirements for the address validation.  It would be nice if
somehow a form entry in the validator could interhit (or implement)
a grouping of validation fields.  Say for instance I have an address
which is nested.  I should just have to say "valid address" and it
would check all the fields that an address contains and has
validation for.  Maybe I am asking a lot, but this would be a
critical feature to add.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Results! Why, man, I have gotten a ton of results! 
I know several thousand things that won't work! 
 --Thomas Edison
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org