Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [S2] <at> Result annotation not working

Don Brown

2007-02-09

Replies:

True...hmm...well, at the least, we should warn people or configure
the annotation to not be able to be set at the method level.

Don

On 2/9/07, Dave Newton <newton.dave@(protected):
> --- Don Brown <donald.brown@(protected):
> > Hm...if it doesn't work on the method level, file a
> > ticket as it should work that way. If nothing else
> > we should document it better.
>
> I first annotated my methods, which failed, and I was
> confused, but... results are defined in the XML file
> for the the Action itself, not its individual methods,
> right?
>
> If that's correct, I'm not sure how the mindset of
> results-per-class vs. results-per-method would be
> reconciled, would you then have to enforce that a
> result was valid only for the annotated method, etc.
>
> d.
>
>
>
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.