Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 37632 invoked from network); 3 Nov 2005 14:55:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 14:55:37 -0000 Received: (qmail 89795 invoked by uid 500); 3 Nov 2005 14:55:25 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 89771 invoked by uid 500); 3 Nov 2005 14:55:25 -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 89760 invoked by uid 99); 3 Nov 2005 14:55:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 06:55:25 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jmikus@gmail.com designates 66.249.82.206 as permitted sender) Received: from [66.249.82.206] (HELO xproxy.gmail.com) (66.249.82.206) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 06:55:20 -0800 Received: by xproxy.gmail.com with SMTP id t9so586273wxc for ; Thu, 03 Nov 2005 06:55:04 -0800 (PST) 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:content-transfer-encoding:content-disposition:references; b=gEekfCITO7Et77Xtn4vA7kwvG9r1eBZXSbSXa00vW34paEte9tfTJui6AekhE5NWaINVliShS3pRJUWEraKTSv/hpbtAKnhshYYFz0I9qEKHoGZE0TuU9kiqHUlYmvnZvaK7tW+0mXAbJvnmD+ERn44FaKT7Tq6uKyb5+Nusu9c= Received: by 10.70.118.14 with SMTP id q14mr727787wxc; Thu, 03 Nov 2005 06:55:03 -0800 (PST) Received: by 10.70.69.4 with HTTP; Thu, 3 Nov 2005 06:55:03 -0800 (PST) Message-ID: <1db115340511030655k247d8499lde2a94d5aa6cc3b4@mail.gmail.com> Date: Thu, 3 Nov 2005 06:55:03 -0800 From: Michael Jouravlev To: Struts Users Mailing List Subject: Re: wizard-style form and validator In-Reply-To: <4369E175.6040103@capgemini.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4369E175.6040103@capgemini.fr> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/3/05, Nicolas De Loof wrote: > > Hello, > > I'm building a wizard style webapp with 3 pages. I'm using the page > attribute to make validator check inputs. > I've got this problem : > first page validate an userId selection (required) > When this rules failes on page 2 or 3 (let's consider the user has used > a bookmark), I'd like struts to go back to page 1. How to configure my > action-mapping for this as I only have one "input" attribute, without > paging support ? Have you tried this: http://struts.sourceforge.net/strutsdialogs/wizardaction.html Even if you will not use WizardAction, here is the tip: display all wizard pages from a single action. This way a user won't be able to navigate to arbitrary page. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org