Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 64342 invoked from network); 15 Sep 2006 16:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 16:22:56 -0000 Received: (qmail 19224 invoked by uid 500); 15 Sep 2006 16:22:51 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 19178 invoked by uid 500); 15 Sep 2006 16:22:50 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 19167 invoked by uid 99); 15 Sep 2006 16:22:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 09:22:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.3.98] (HELO exprod8og58.obsmtp.com) (64.18.3.98) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 15 Sep 2006 09:22:37 -0700 Received: from source ([12.110.141.25]) by exprod8ob58.obsmtp.com ([64.18.7.12]) with SMTP; Fri, 15 Sep 2006 09:20:53 PDT In-Reply-To: Subject: Re: wizard-style JSF application: looking for words of wisdom To: "MyFaces Discussion" X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: From: William Huang Date: Fri, 15 Sep 2006 12:22:16 -0400 X-MIMETrack: Serialize by Router on IntraMail_MA_01/Intralinks_NY(Release 7.0.1FP1|April 17, 2006) at 09/15/2006 12:23:40 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N then I think a nice solution is Andrew Robinson's method (JBoss Seam & Facelets), but instead of JBoss Seam, use tomahawk savestate. I think there is also a conversation jsf tag/component from tomahawk as well. William Huang Product Development Team "Henrik Bentel" To "MyFaces Discussion" 09/15/2006 12:08 PM cc Subject Please respond to Re: wizard-style JSF application: "MyFaces looking for words of wisdom Discussion" They both look like good alternatives except I'm stuck on java 1.4.2 and EE 1.3 (weblogic 8.1). It seems they both require higher JDK/EE versions. -Henrik On 9/15/06, Adam Brod wrote: > > Check out JBoss Seam or the Apache Shale project. They are both JSF > frameworks with support for widard-like flows. > > Adam Brod > Product Development Team > > > "Henrik Bentel" wrote on 09/15/2006 11:22:56 AM: > > > > Hi > > > > I'm developing a JSF webapp which works like a 'wizard' where the user > > steps though > > several pages(or steps). The main navigation control are links like > > 'next', 'previous', and 'cancel'. I've done a couple of these > > 'wizard'-style apps, each very different in structure. > > > > I'm looking for suggestions for what you've found to work well in this > > type of application. > > > > > > My previous 2 weak attempts of a wizard-style app is as follows. > > My first app has one managed bean for the entire wizard with all > > validation and wizard logic in that one bean(and supporting POJOs). > > Using one backing bean made it easier for reuse of page layout and > > navigation controls, and made it easy to skip steps dynamically at > > runtime. But it grew very large and not very pretty. > > > > My second app has one backing bean per 'step'. But I couldn't find an > > obvious way of reuse page layout and navigation controls across all > > the managed beans. So each page is bound to its own backing bean with > > 'next', 'previous' and 'cancel' action methods. And sometimes a > > backing bean had to know which page was the previous and the next > > step. > > > > Hope someone can help > > > > regards, > > Henrik > > Disclaimer: This electronic mail and any attachments are confidential and > may be privileged. If you are not the intended recipient, please notify the > sender immediately by replying to this email, and destroy all copies of this > email and any attachments. Thank you. > > > Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.