Leonardo Uribe created MYFACES-3858:
---------------------------------------

             Summary: Faces Flow startNode is not defined by default for xml 
non empty files ending with -flow.xml
                 Key: MYFACES-3858
                 URL: https://issues.apache.org/jira/browse/MYFACES-3858
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Leonardo Uribe


Taking a look at JSF 2.2 section 11.4.3.3 it says:

"... The following conventions apply to flows defined in this manner.
Any flow definition in the corresponding -flow.xml file will override any
of the conventions in the case of a conflict

- Every vdl file in that directory is a view node of that flow.
- The start node of the flow is the view whose name is the same as the
name of the flow.
- Navigation among any of the views in the directory is considered to
be within the flow.
- The flow defining document id is the empty string. ..."

Checking the code it seems the conditions has been applied but only when the 
empty flow is provided. The default start node should be defined in cases where 
it is not defined in a explicit way in the xml.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to