struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Krebs <volker.kr...@abas.de>
Subject Re: Struts2 ScopeInterceptor scope.type end problem
Date Tue, 13 Dec 2011 12:36:00 GMT
Hello,
yes the problem is that all scope objects managed by the scope
Interceptor will be cleared if the scope.type is "end".

I was looking for a way to copy it to the request, so that I could
display a confirmation/summary on the last page involved in my scope.

But the ScopyInterceptor does not set the scope objects to my Action if
the scope.type is "end".
Take a look at the beforeResult implementation in ScopeInterceptor.
I have no chance to access the scope Objects in an "end"-Action.

And ScopeInterceptor is not applicable for extension, since it has to
many private Fields/Methods.

Thanks,
Volker



On Do, 2011-12-08 at 21:42 -0800, mohan rao wrote:
> Once you action execution is done all the valueStack objects will be cleared.
> This is might be causing the problem. And can you please elaborate your
> requirements. 
> 
> --
> View this message in context: http://struts.1045723.n5.nabble.com/Struts2-ScopeInterceptor-scope-type-end-problem-tp5058274p5060788.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message