You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/02/20 02:05:23 UTC

[jira] [Resolved] (MYFACES-3858) Faces Flow startNode is not defined by default for xml non empty files ending with -flow.xml

     [ https://issues.apache.org/jira/browse/MYFACES-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3858.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
         Assignee: Leonardo Uribe

> 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
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.1
>
>
> 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)