>>>>> On Thu, 16 Jan 2014 22:40:32 -0500, Leonardo Uribe <lu4242_at_gmail.com> said:
LU> Hi
LU> Just FYI, recently an user made a comment about a use case he has for
LU> Faces Flow in MyFaces:
LU> Subject: JSF 2.2 Exit Flow
LU> "... I have an application that consists of a dropdown menu bar with
LU> many menu items. Each menu item will initiate a new faces flow. This
LU> is working correctly, however, once I am inside a flow, I would like
LU> any click on a menu item to exit the current flow, and then start a
LU> new one. There are dozens of menu items in the application, so I was
LU> wondering if there is any way to have the current flow automatically
LU> exit when a menu item is clicked without having to define a
LU> flow-return for each menu item? ..."
LU> What he is looking for is precisely what we are discussing here.
LU> 1. Global navigation should still work even if the user enters into a flow.
LU> 2. A navigation to a page outside a flow in some cases should trigger
LU> an exit from the flow automatically, but in others that's not
LU> necessary true.
I tested this with the latest Mojarra and you are correct. Abandoning a
flow while simultaneously entering another flow is not allowed.
Currently you have to visit the unbounded flow first and then enter the
new flow.
I have opened spec issue 1253 on this and also ask for more feedback
here if people think this should really be supported.
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage: | http://ridingthecrest.com/
| 24 Work Days Til DevNexus 2014
| 41 Work Days Til JavaLand 2014