Re: JSF 2.2 Exit Flow

2014-01-19 Thread Leonardo Uribe
Hi You can do what you want creating a custom ViewHandler and overriding createView(...) method like this: @Override public UIViewRoot createView(FacesContext context, String viewId) { UIViewRoot root = super.createView(context, viewId); if (root != null) {

Re: JSF 2.2 Exit Flow

2014-01-18 Thread Gerhard Petracek
hi geoffrey, just fyi (in addition to the answer from michael): that's one of the major use-cases we had for codi/deltaspike (grouped-)conversations. you can use a listener (or an observer for PreViewConfigNavigateEvent + custom view-config meta-data) which just calls (WindowContext#closeConversat

Re: JSF 2.2 Exit Flow

2014-01-18 Thread Michael Kurz
Hi, as far as I know, this is currently not possible. JSF won't let you navigate to something that is not defined as a node in the current flow. I quickly talked to Ed Burns about this some time ago and he more or less confirmed that this is the case. Regards Michael Am 17.01.2014 02:10, sc

Re: JSF 2.2 Exit Flow

2014-01-16 Thread Howard W. Smith, Jr.
On Thu, Jan 16, 2014 at 8:10 PM, Geoffrey Longo wrote: > I have an application that consists of a dropdown menu bar with many menu > items. Each menu item will initiate a new faces flow. This is working > correctly, however, once I am inside a flow, I would like any click on a > menu item to ex