Return-Path: Delivered-To: apmail-incubator-beehive-user-archive@www.apache.org Received: (qmail 67245 invoked from network); 29 Jun 2005 19:31:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2005 19:31:35 -0000 Received: (qmail 97181 invoked by uid 500); 29 Jun 2005 19:31:34 -0000 Delivered-To: apmail-incubator-beehive-user-archive@incubator.apache.org Received: (qmail 97163 invoked by uid 500); 29 Jun 2005 19:31:34 -0000 Mailing-List: contact beehive-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list beehive-user@incubator.apache.org Received: (qmail 97150 invoked by uid 99); 29 Jun 2005 19:31:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 12:31:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of richfeit@gmail.com designates 64.233.170.195 as permitted sender) Received: from [64.233.170.195] (HELO rproxy.gmail.com) (64.233.170.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 12:31:36 -0700 Received: by rproxy.gmail.com with SMTP id y7so1392738rne for ; Wed, 29 Jun 2005 12:31:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:x-enigmail-version:x-enigmail-supports:content-type:content-transfer-encoding; b=aZVK6QpYaRlapcAi+5p2Drq6Y9PJChm8yw9CBvsiH8SJTlEoifMJQvtJa6zgRVfO0S2E+JRr0LSah10r5BzODkz83I7auwvCcaYPxVY3/MbNV2wvDgVdH5CPEwL4Vkp+IfRp1SlaS4UX0fFvBbYowrWq7NT3v6pZe8u2EIXIk9Y= Received: by 10.38.78.53 with SMTP id a53mr4506520rnb; Wed, 29 Jun 2005 12:31:32 -0700 (PDT) Received: from ?10.61.4.240? ([63.96.176.24]) by mx.gmail.com with ESMTP id z1sm10544319rne.2005.06.29.12.31.32; Wed, 29 Jun 2005 12:31:32 -0700 (PDT) Message-ID: <42C2F712.7090203@gmail.com> Date: Wed, 29 Jun 2005 13:31:30 -0600 From: Rich Feit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Beehive Users Subject: Re: Shared Flow exception handling References: <2F6E8DB4EAA8C74EAE8BDF9878A040258A66BD@wopr.hq.compoze.com> In-Reply-To: <2F6E8DB4EAA8C74EAE8BDF9878A040258A66BD@wopr.hq.compoze.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Jack, From what you've posted, it looks like you need to forward to Jpf.NavigateTo.currentPage (not previousPage), which is the most recent page in the current page flow. If that doesn't solve it for you, let me know. Rich Jack Rudnick wrote: >When attempting to use a Shared Flow for exception handling, we >successfully have our handle redirect us to our "error" page. On the >"error" page, we wish to have a "cancel" button, that will simply take >us back to the last point in our application before the exception what >generated. > > > >It would seem that the correct way to do this would be to put a >"cancelAction" in the shared flow for the button to use that looks like >below: > > > >@Jpf.Action( forwards = > > { > > @Jpf.Forward( name = "success", > > navigateTo = Jpf.NavigateTo.previousPage ) > > } ) > >public Forward cancelAction > >( > >) > > { > > return new Forward("success"); > >} > > > >This, however, does not seem to work. > > > >Does anyone have any thoughts on how this should be done? > > > >