Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3858

Faces Flow startNode is not defined by default for xml non empty files ending with -flow.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lpenet Ludovic PĂ©net
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: