spring-webflow
spring-webflow copied to clipboard
Add support for Flow Composition [SWF-109]
Keith Donald opened SWF-109 and commented
It should be possible for a outer task "parent flow execution" to kick off other nested tasks in paralell that can execute asynchronous. For example, consider a travel site where the user can book their hotel, flight, and car in parallel by using different components or tabs. Another example is a shopping site where the user can browse products while filling up their cart, then decide to checkout as part of the overall "shopping" task.
Affects: 1.0
Attachments:
- WebflowIncludeHandler.java (14.89 kB)
- WebflowIncludeHandler.java (25.88 kB)
Issue Links:
- #171 Unable to fork off flow independent flow executions from inside a flow using externalRedirect ("is depended on by")
18 votes, 20 watchers
Steve Taplin commented
Following this parallel split, it would be desirable to be able to synchronize one or more of the asynchronous tasks back to the main flow at some 'Synchronization' point (blocking until the selected asynchronous tasks and the primary task are complete).
Erwin Vervaet commented
Also see the following forum thread: http://forum.springframework.org/showthread.php?t=36873
Andreas Schildbach commented
It would also be desirable for the main flow to be able to interrupt/stop its spawned parallel flow. E.g. when you navigate away (using main flow transitions) from a page that has the UI elements necessary for a parallel flow.
Keith Garry Boyce commented
Before that was compatible with m1
Usage: <webflow:include flowId="memberSearchFlow" tabHierarchy="0" resetOnTabChange="true"> <ui:param name="decorator" value="/secure/template/facelet/tabContentTemplate.xhtml"/> </webflow:include>