This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Spring Web Flow - going to subflow states from parent flow.
Lucky J Verma
posted 3 years ago
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?