Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5CF07103 for ; Tue, 13 Dec 2011 12:36:36 +0000 (UTC) Received: (qmail 34770 invoked by uid 500); 13 Dec 2011 12:36:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 34691 invoked by uid 500); 13 Dec 2011 12:36:34 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 34679 invoked by uid 99); 13 Dec 2011 12:36:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 12:36:34 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.158.138.131] (HELO mail186.messagelabs.com) (85.158.138.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 12:36:26 +0000 X-Env-Sender: volker.krebs@abas.de X-Msg-Ref: server-5.tower-186.messagelabs.com!1323779763!4794722!1 X-Originating-IP: [212.202.226.202] X-StarScan-Version: 6.4.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12662 invoked from network); 13 Dec 2011 12:36:03 -0000 Received: from gate.abas.de (HELO gate.abas.de) (212.202.226.202) by server-5.tower-186.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 13 Dec 2011 12:36:03 -0000 Received: from gate.abas.de (localhost [127.0.0.1]) by gate.abas.de (8.14.3/8.14.3) with ESMTP id pBDCa37a012978 for ; Tue, 13 Dec 2011 13:36:03 +0100 (CET) Received: (from localhost) by gate.abas.de (MSCAN) id 3/gate.abas.de/smtp-gw/mscan; Tue Dec 13 13:36:03 2011 Subject: Re: Struts2 ScopeInterceptor scope.type end problem From: Volker Krebs Reply-To: volker.krebs@abas.de To: Struts Users Mailing List In-Reply-To: <1323409331203-5060788.post@n5.nabble.com> References: <1323338580.24634.17.camel@pig.s3.abas.de> <1323409331203-5060788.post@n5.nabble.com> Content-Type: text/plain; charset="UTF-8" Organization: Abas Software AG Date: Tue, 13 Dec 2011 13:36:00 +0100 Message-ID: <1323779760.9129.24.camel@pig.s3.abas.de> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-ABAS-MAIL-MARK: added by mailmarker.abas.de 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