users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] Re: FacesFlows - Limited possibilities when making transitions

From: Edward Burns <edward.burns_at_oracle.com>
Date: Tue, 16 Dec 2014 13:47:35 -0800

>>>>> On Thu, 11 Dec 2014 08:12:40 +0100, Martin vihlík <svihlik.m_at_gmail.com> said:

MV> I have several problems when trying tu use JSF 2.2 FacesFlows. I will start
MV> with first one, and I will add some more later :).

Thanks, keep them coming. I appreciate it.

MV> I have a problem when trying to navigate from method call node,
MV> switch node or faces flow call node to nodes other than view node or
MV> return node.

MV> Just to make it super clear, next transitions are not possible:
MV> method call node -> method call node
MV> method call node -> faces flow call node
MV> method call node -> switch node
MV> faces flow call node -> method call node
MV> .... I think that you get my point.

MV> I wonder why this is not possible?

As Leo mentioned, it should be possible. This may be a bug in Mojarra.
I'm investigating it now.

MV> I debug code in com.sun.faces.application.NavigationHandlerImpl and in
MV> com.sun.faces.flow.FlowHandlerImpl.class and I found out that
MV> synthesizeCaseStruct method can handle only view node or return node as
MV> target node. Otherwise it returns null.

This is a good start and it will help get us quickly to a solution.

Thanks,

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 50 days til DevNexus 2015
| 60 days til JavaLand 2015
| 70 days til CONFESS 2015