My first idea was to add an "actions" attribute on the validator
annotations. For example:

@RequredStringValidator(key="firstName", actions={ "execute", "forward" })

Lacking the attribute means all methods, of course.

Thoughts?


On Tue, Jul 2, 2013 at 1:37 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2013/6/29 Paul Benedict <pbened...@apache.org>:
> > This is the best proposed solution and I am surprised it didn't become
> part
> > of Struts:
> > https://issues.apache.org/jira/browse/WW-1967
>
> You can do it yourself right away ;-)
>
> > We should add another level of XML filename checking to to be
> > <ActionName>-<MethodName>-.xml
>
> What about Annotations support, we must extend them as well?
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to