VenkataPrasad Regula wrote:I want to display the results on the page for which I used a controller. To execute the controller, I used the command
<view-state id="custList" view="externalRedirect:/customerList.html"/>
To my knowledge this transfers the control from the web flow to controller(web MVC). So I started doubting how to come back to flow again at that specific point after the list is being displayed.
Can't be done. Basically a Flow is one single URL. There is an execution code in the URL that Spring WebFlow keeps track of it. Also so that if you were to try to get into the flow other than the beginning, Spring Web Flow will take you to the beginning of the flow.
To me, redirecting out the flow is an end of the flow. Logically it makes no sense to re-enter in the middle if you are done with the flow. You can break your flow into two flows and one be a subflow of the other, so that if you do go out of the flow, you can start a brand new flow being just the subflow. Then the subflow just becomes a single flow by itself, which is like starting at the middle.
Otherwise, you will not be able to leave the flow in the middle and come back.
Mark