[jboss-user] [JBoss Seam] - Nested Page flows (jpdl) and conversations

nthompson do-not-reply at jboss.com
Fri Jan 5 11:09:10 EST 2007


Hello all,

I'm trying to understand how to properly implement nested page flows and conversations with jpdl.

I would like to have a page flow that will be able to start a new nested flow, but take the outer flow back to a page within itself (but have the client display the start-page of the nested flow).

Basically:

1 LoginFlow -> log user in
2 LoginFlow -> Allow user to select a module (section of the website)
3 LoginFlow -> Start a nested flow for the module (which the client sees)
4 LoginFlow -> go back to 2 (when the user switches workspaces back to this flow)

The problem I've been having is that I don't know how to start a new nested page flow without having to define the nested flow's start-page in the outer flow.  If I do define that page in the outer flow, then when the user switches workspaces back to the outer flow, the current node of the outer flow is set to the same page as the start-page of the nested flow.

To put it another way:  The page that ends up being rendered to the client is the destination node of the outer flow rather than the nested flow's start-page.  What I want is for the outer flow to pause at the time that the nested flow is started, and resume when the user switches workspaces back to the outer flow (I could then define the destination of the outer flow to loop back to a previously displayed page node).

Is it possible to do something like this?  If so, can someone point me in the right direction?

Thanks,

Nate

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998300#3998300

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998300



More information about the jboss-user mailing list