myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Lucy <>
Subject Packaging Flows in Directories Convention
Date Tue, 28 Apr 2015 15:14:45 GMT

I'm a bit unsure about the validity of a particular flow packaging
convention.  Consider that we have a flow defined with the following

Assuming that no start node is specified in flowname-flow.xml, is this a
valid configuration?  Currently, MyFaces does not find a start node at all,
since it looks for it at /WEB-INF/flowname/flowname.xhtml.  Mojarra does
parse this configuration without error.

The relevant spec is JSF 2.2 (Packaging Flows in Directories);
there 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.

Note the ambiguity here - "Every vdl file in that directory" - which
directory?  Should MyFaces work with this flow configuration?

Bill Lucy
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message