>>>>> On Tue, 26 Nov 2013 10:15:39 -0800, jason zhang <jasonzhang2002_at_gmail.com> said:
JZ> Hi, All
JZ> I am trying to use a method call as start node for flow. The method call
JZ> will judge the status of a domain object(project) to decide the start page.
JZ> I tried the default start page: FLOW/FLOW.xhtml. It worked. But the method
JZ> call one does not.
JZ> My flow definition looks like this
JZ> <flow-definition id="project">
JZ> <start-node>firstpage</start-node>
JZ> <method-call id="firstpage" >
JZ> <method>#{pflow.firstPage()}</method>
JZ> <default-outcome>delay_event</default-outcome>
JZ> </method-call>
JZ> </flow-definition>
JZ> It gives me the error like this
JZ> - Unable to find matching navigation case with from-view-id
JZ> '/project_setup.xhtml' for action '#{projectSetup.save}' with outcome
JZ> 'firstpage'
JZ> - Unable to find matching navigation case with from-view-id
JZ> '/project_setup.xhtml' for action '#{projectSetup.save}' with outcome
JZ> 'project'
This appears to be a genuine bug. I've filed it and am working on it
presently.
https://java.net/jira/browse/JAVASERVERFACES-3110
Thank you so much for bringing it up here!
Ed