Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 20413 invoked from network); 23 May 2006 06:01:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 06:01:57 -0000 Received: (qmail 84898 invoked by uid 500); 23 May 2006 06:01:56 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 84882 invoked by uid 500); 23 May 2006 06:01:56 -0000 Mailing-List: contact user-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list user@beehive.apache.org Received: (qmail 84871 invoked by uid 99); 23 May 2006 06:01:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 23:01:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ampyx.li@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 23:01:54 -0700 Received: by nf-out-0910.google.com with SMTP id m19so511189nfc for ; Mon, 22 May 2006 23:01:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=M31rACopmD/qvzMuf07JDq8Dk9igA2lHG1QWlg9Aouj8BpP12zpS8xq642oE/kbIunvvE1s3vPotmf+rJo8srYQPYj+Kk6RHa3x6nMbOTDpDzAhaHYpjd7+QzvKBWZWK2DEOpV7fB30+qsyOvSS1jwDcOIvKPe5YeoMNSH+E0U8= Received: by 10.49.61.19 with SMTP id o19mr4441767nfk; Mon, 22 May 2006 23:01:31 -0700 (PDT) Received: by 10.49.11.20 with HTTP; Mon, 22 May 2006 23:01:30 -0700 (PDT) Message-ID: Date: Tue, 23 May 2006 14:01:30 +0800 From: Li To: "Beehive Users" Subject: Re: "No Jpf.Forward ..." error for nested controller In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_103789_6383517.1148364090979" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_103789_6383517.1148364090979 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank Thomas. On 5/23/06, Thomas Cook wrote: > > A nested page flow must declare at least one "return" action that > links it back into the calling page flow. Think of this sort of like > a return statement in a method. If you didn't intend for your page > flow to be nestable, remove the nested=3Dtrue attribute on your > Jpf.Controller annotation and the error should go away. > > > On 5/21/06, Li wrote: > > Hi all, > > > > I created a controller for login process, and added Jpf tag for begin > > method: > > @Jpf.Action( > > forwards =3D { > > @Jpf.Forward(name =3D "success", path =3D "login.jsp") > > } > > ) > > protected Forward begin(ReturnToForm initForm) { > > ...... > > } > > > > But when I was compiling the application. It threw a error : > > "There is no Jpf.Forward annotation with returnAction attribute defined > for > > my nested Controller" .... > > > > Any idea? > > > > > --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The world will be ended if love is everywhere. ---- Shawzi ------=_Part_103789_6383517.1148364090979--