• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Invoke the same sub flow again

Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic