struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: [WW-2292] Validation annotations v. ActionSupport
Date Tue, 06 Nov 2007 13:11:11 GMT
I would say that the behavior described is the expected behavior.

AFAIK, the @Validation() annotation is just a bit of red-tape, and if
we didn't need it, it wouldn't be there at all. Essentially, the
@Validation is inherited alongwith the validations. There's another
semantic, @SkipValidation, that is intended to suppress inherited
validations. (Though, it may still not work quite right.)

-Ted.

On Nov 5, 2007 8:51 AM, Dave Newton <newton.dave@yahoo.com> wrote:
> https://issues.apache.org/struts/browse/WW-2292
>
> I'm assuming what's happening is that ActionSupport's
> validation is enough to use field validator
> annotations even if the action doesn't have an
> explicit @Validation() annotation (or something else
> that leads to the same result).
>
> WW-2292 basically asks if a lack of @Validation()
> should mean no validation based on annotations even if
> the class extends ActionSupport.
>
> Anyone?
>
> Thanks,
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
HTH, Ted <http://www.husted.com/ted/blog/>

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


Mime
View raw message