I would like a feature in XWork that allows sub packages to override
interceptors in the interceptor stacks
(http://jira.opensymphony.com/browse/XW-554). What I want is that if I
define an interceptor in a package with a name that already exists in
parent packages, I want all the stacks that are using this interceptor
to use the one defined in the local package instead, but only for this
package and it's sub packages. The reason I want to be able to do this
is so that I don't have to redefine all the stacks with my new
interceptor, which would be particularly useful with the portlet
plugin, which needs some tweaks to existing interceptors for them to
work in a portlet environment. This is an area of XWork I have little
experience with, and I've been digging through the XWork code base,
but I have not yet found out how to achieve this. I guess I could
either override the interceptors "configuration time", or at runtime.
I'm not sure what happens when, and if/how I can modify the behaviour
to do what I want. So if anyone have any ideas and pointers to where
to start, I'd be grateful.

Nils-H

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

Reply via email to