Also check out WebFlow Navigation Module (wfnm.sourceforge.net), which offers JSP tags that demarcate page flows and uses a session listener to automatically destroy session managed beans associated with a page flow when you exit that flow.
Ultimately, I'd like to see something more integrated with existing JSF concepts, perhaps a "flow" scope for managed beans, for example, in addition to "request" and "session." The approach I'm currently leaning toward is to add a webflow tag (a la Spring Webflow) to faces-config, in which you could specify the name of an associated JSF-managed bean. When you exit the flow, the bean would automatically be destroyed. Just like Spring Webflow, a webflow as I envision it would consist of multiple views. Each view could also be associated with a managed bean that would be destroyed upon transitioning away from the view. This would be the equivalent of a "flash" such that the bean would only exist for the render phase of one request and the action phase of the next, which is often exactly what is needed and no more.
Is this close to what you're looking for?
/dmc
On 7/17/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
Look at JBoss-Seam, it was made for Conversation scope. It even has
the ability to list all current conversations for the user so that you
can have multiple active processes per user. So the user could be
booking a hotel room and renting a car at the same time for example.
-Andrew
On 7/17/06, Matthias Wessendorf < [EMAIL PROTECTED]> wrote:
> Look here
>
> http://irian.at/myfaces-sandbox/pageConversation.jsf
>
> and the source of the page
> http://irian.at/myfaces-sandbox/pageConversation.jsp.source
>
> -Matthoias
>
> On 7/17/06, Aleksei Valikov < [EMAIL PROTECTED]> wrote:
> > Hi.
> >
> > > How about the processScope in the MyFaces sandbox, written by Mario
> > > Ivankovits?
> >
> > Sorry, I've searched the sandbox trunk but could not find anything with
> > "processScope" inside. Could you please maybe post a link?
> >
> > Bye.
> > /lexi
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

