Thanks a bunch for looking into this :) No, Tom Schneider's ScopeInterceptor doesn't extend the standard org.apache.struts2.interceptor.ScopeInterceptor.
That's kind of my point: IMHO, Mr. Schneider's interceptor has beautiful annotations design, but might benefit from some refinements that are present in the standard Struts2 ScopeInterceptor. For example, when I tried out Mr. Schneider's interceptor, I had to fix it to use PreResultListener (which it doesn't do by default, thus causing strange behavior in the result JSP). Thanks again. Musachy Barroso <[EMAIL PROTECTED]> wrote: Does it extend the scope interceptor or is it a brand new one? (for some reason google "browse" is timing out) musachy On Fri, May 23, 2008 at 2:57 PM, sol myr wrote: > Hi, > A kind request / question for the Struts2 development team: > > Would you consider *annotation* based injection of session/application > attributes? > I'm aiming at something like Tom Schneider's "scope plugin" (from the struts2 > plugin repository): > http://cwiki.apache.org/S2PLUGINS/scope-plugin.html > > The above plugin has a nice approach IMHO, but is not considered "Struts2 > mainstream" (i.e. is not distributed with struts2 by default, and could > probably also benefit from some enhancements). > The "mainstream" org.apache.struts2.interceptor.ScopeInterceptor is great, > but unfortunately relies only on XML configuration - wouldn't you agree that > annotations can be cleaner and easier to maintain (as already proven with > struts2 validators...) > > Thanks very much :) > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]