Thanks Eddie! Does anyone have any comments on the rest of the message? Dave
From: Eddie Bush <[EMAIL PROTECTED]> Reply-To: "Struts Developers List" <[EMAIL PROTECTED]> To: Struts Developers List <[EMAIL PROTECTED]> Subject: Re: Validator Integration Date: Fri, 25 Oct 2002 10:01:25 -0500 I just forwarded the discussion to you, David. It happened on the 23rd. David Graham wrote:It struck me the other day that the validator could be further integrated into struts. I'm not sure about my ideas so I want to get your thoughts. Why should people need to subclass ValidatorActionForm instead of ActionForm to use the validator? What forms have you built that didn't need validation?--
My idea is that the ValidatorActionForm and ValidatorForm (why are there 2?) behavior should be included in ActionForm and have those classes removed. I think this will maintain backward compatibility because if the developer hasn't defined any validation rules for a form then we could return null from validate().
Further, we could include validator configuration tags in struts-config.xml instead of using a plugin. This would signify that validator is an integral piece of struts that most people want to use (which I believe they do).
This is probably a post 1.1 idea but I thought I'd throw it out here.
What do you think?
David
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org
Eddie Bush
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>
_________________________________________________________________
Get a speedy connection with MSN Broadband. Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>