posted 11 years ago
Hi I'm very new to Spring.I'm currently working on Spring web flow . I would liek to know how to reinvoke the same sub flow based on the selection made on the main flow.
I have a flow1.xml that has view and transition state(that invokes the subflow named flow2.xml)
The view has some 3 check boxes(say Cars,Bikes,Boats) and a continue button.
I have another flow xml called flow2.xml that has a view and a transition state
This will have data based on the selection made in the main flow and a continue button.
Now when the view in flow1.xml(main flow) is rendered. After they choose the checkboxes (Say they choose cars and bikes) and then click continue I want to invoke the flow2.xml as a sub flow passing the list of selections that they made as an input param.
Now I want the view in flow2.xml(sub flow) to be rendered with the details about Cars first since taht was first option chosen and then on continue I want to reinvoke the same subflow that rerenders the same view but with the details for 2nd choice made name Bikes.
How do I accomplish this