Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3D754D32 for ; Tue, 5 Jul 2011 16:23:10 +0000 (UTC) Received: (qmail 57438 invoked by uid 500); 5 Jul 2011 16:23:09 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 57310 invoked by uid 500); 5 Jul 2011 16:23:09 -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 57283 invoked by uid 99); 5 Jul 2011 16:23:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 16:23:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hampus.wingren@bredband.net designates 62.127.194.20 as permitted sender) Received: from [62.127.194.20] (HELO smtprelay-b11.telenor.se) (62.127.194.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 16:23:01 +0000 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id AB0D1EAA65 for ; Tue, 5 Jul 2011 18:22:40 +0200 (CEST) X-SMTPAUTH-B2: [cpuser_hampe98@bredband.net] X-SENDER-IP: [195.54.99.132] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApADABM5E07DNmOEgWdsb2JhbABThEKjWQEBFiYliHyxDpBYgSuDf4EMBJI2iUqGbg X-IronPort-AV: E=Sophos;i="4.65,480,1304287200"; d="scan'208";a="27023390" Received: from cwpb-web01.bredband.net (HELO www.bredbandsbolaget.se) ([195.54.99.132]) by ipb3.telenor.se with ESMTP; 05 Jul 2011 18:22:40 +0200 Received: from c-937be253.364-1-64736c20.cust.bredbandsbolaget.se ([83.226.123.147]) by www.bredbandsbolaget.se with HTTP (HTTP/1.1 POST); Tue, 05 Jul 2011 18:22:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Tue, 05 Jul 2011 18:22:40 +0200 From: Hampus Wingren To: MyFaces Discussion Subject: Re: Comparing CODI pages/navigation to Spring WebFlow In-Reply-To: References: <418bfe17419885caa77041e1f351de1b@imap.bredband.net> <16236a8b36dc5e5874fde759dc5bc15f@imap.bredband.net> Message-ID: X-Sender: hampus.wingren@bredband.net User-Agent: Roundcube Webmail/0.4 Ok, sounds great. I´ll have to try this out. Thanks! Regards, Hampus On Tue, 5 Jul 2011 16:45:31 +0200, Gerhard Petracek wrote: > the conversation concepts are different - you don't have to think about > special things like sub-flows or nested conversations because you get the > concept of parallel conversations. > + conversations are decoupled from the type-safe navigation (you can use > both but you don't have to). > > if you don't group conversation scoped beans, they exist in parallel. you > can group beans which should exist in the same logical conversation-group. > closing one group won't affect other groups. > > e.g. if you have a booking-wizard and in the middle of it, you have to > display a registration wizard, you don't have to think about something like > a sub-flow. > just open the registration-wizard and at the end of it close the > conversation of the bean/s behind the registration-wizard. the conversation > scoped beans of the booking-wizard won't get affected and you can continue > with the wizard. > > regards, > gerhard > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2011/7/5 Hampus Wingren > >> What about subflows? If I´ve got a navigation flow could I then >> incorporate another flow (packaged in a jar for example) as a reusable >> navigation flow that could participate in the conversation? >> >> regards, >> Hampus >> >> On Tue, 5 Jul 2011 15:59:38 +0200, Gerhard Petracek >> wrote: >> > hi hampus, >> > >> > you can think about it like implicit navigation (introduced in jsf2) but >> in >> > a type-safe way based on the view-config concept. >> > view-configs allow to provide configs e.g. for security, a view >> > controller,... in a type-safe, extensible and easy way (you can e.g. >> inherit >> > configs like it's described in the wiki). >> > in addition you can (re-)use those view-config classes (which represent >> the >> > pages) for type-safe (implicit) navigation. >> > >> > most flow-features of swf are only needed because you have to use xml. >> you >> > won't find xml in codi - so you don't need those features, if you are >> using >> > codi (if you have a more complex flow, you can just write your >> > conditions/... in java). >> > however, if you see a missing part which you would need, you are welcome >> to >> > describe the use-case. >> > >> > regards, >> > gerhard >> > >> > http://www.irian.at >> > >> > Your JSF powerhouse - >> > JSF Consulting, Development and >> > Courses in English and German >> > >> > Professional Support for Apache MyFaces >> > >> > >> > >> > 2011/7/5 Hampus Wingren >> > >> >> Hi again, >> >> >> >> We´re currently using Spring WebFlow for JSF navigation but I´m a bit >> >> concerned about the future of WebFlow and wonder how you would compare >> it to >> >> CODI pages/navigation? I see the CODI stuff to be more of a natural fit >> for >> >> JSF flow/navigation but as I currently lack a complete understanding of >> its >> >> functionality I really can´t argue for my case. >> >> >> >> Regards, >> >> Hampus >> >> >> >> >> >>