Interceptors are singletons per stack - if you referencing them with
interceptor-ref from within actions you are reusing the same instance.
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/6/26 Cameron Morris :
> Hello Strut-ers,
>
> When I override an interceptor's parameter i
I verified that the same behavior is true on interceptor stacks. This
seems like a broken feature, a feature that we should discourage anyone
from using. If I override an interceptor parameter on one action, when
that action runs, the interceptor will likely have different parameters.
On Wed, J
Thanks Umesh,
Would the expected behavior change if referencing a stack?
example:
A
B
On Wed, Jun 26, 2013 at 8:55 AM, Umesh Awasthi wrote:
> You first assumptions is wrong "interceptor was
> created for each action"
>
> Interceptors are not created per action/request but only
You first assumptions is wrong "interceptor was
created for each action"
Interceptors are not created per action/request but only once and any such
action level data changes are not the best place to do that
On Wed, Jun 26, 2013 at 8:22 PM, Cameron Morris wrote:
> Hello Strut-ers,
>
> When I ov
Hello Strut-ers,
When I override an interceptor's parameter in several actions, only the
last action's parameters are applied. (Note I'm not referencing a stack,
but just one interceptor.) I was expecting that a separate interceptor was
created for each action or that the param would be set befor
5 matches
Mail list logo