|Kongregate Registration for Free Flash Games and Chat with solprovider|
The next page contains much more detail.
Normal ContinuationFor Flow called from the normal process
Usecase ContinuationWhen using Flow in a Usecase, Lenya needs to know where to continue. It would default to publication-sitemap.xmap. But if you put the "map:call continuation" in publication-sitemap.xmap, then the return pipelines must exist in that sitemap. The return pipelines should be kept in the Usecase, so Lenya must know to pass control to the Usecase. The bad answer is to add:
to publication-sitemap.xmap. While this passes control to the Usecase, the Usecase is now dependent on outside code.
The better answer is to change the form to pass directly to the usecase:
This loads the correct usecase without looking at publication-sitemap.xmap. All the XMAP code for the usecase is in the usecase, making maintenance much easier.