aspose file tools*
The moose likes Spring and the fly likes Spring Web Flow - going to subflow states from parent flow. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Web Flow - going to subflow states from parent flow." Watch "Spring Web Flow - going to subflow states from parent flow." New topic
Author

Spring Web Flow - going to subflow states from parent flow.

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
I want to look up state-ids in subflows from main-flow and transition to that state.


My application : There are many pages implemented by my flows with 1 main flow and with multiple flows inside which can furthur have flows inside.

When user is navigating and entering values, he can exit at any point in application.
When user exits , we save the values entered & current-state of user in DB.
He can exit from any page ( in root flow or some page from sub flow)

Next time, user logs on, we have db-calls to fetch stored state-id and we want that page/state to show up directly and bypass all other prior states.
He can navigate back though from 'previous' button
It is getting very difficult for me to go from main-flow to nested subflows. I cannot go directly so nested flows are very difficult for me to work on.

Is there any way main/parent flow sees and can jump to subflow states directly.

how can i implement this functionality?Any other ideas?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring Web Flow - going to subflow states from parent flow.