[
https://jira.jboss.org/jira/browse/JBIDE-4661?page=com.atlassian.jira.plu...
]
Alexey Kazakov updated JBIDE-4661:
----------------------------------
Fix Version/s: 3.1.0.M4
Affects: [Documentation (Ref Guide, User Guide, etc.)]
Seam validator should issue a warning/error when a xhtml page with a
.page.xml file is included in another xhtml file
---------------------------------------------------------------------------------------------------------------------
Key: JBIDE-4661
URL:
https://jira.jboss.org/jira/browse/JBIDE-4661
Project: JBoss Tools
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.M2, 3.1.0.M3
Reporter: Julien Kronegg
Assignee: Alexey Kazakov
Priority: Minor
Fix For: 3.1.0.M4
When including (typically using <ui:include> tags) a xhtml page (lets say A) into
another xhtml page (lets say B), the navigation page A.page.xml is not processed. I could
not find a statement on that behavior in Seam documentation, but I added logging in the
org.jboss.seam.navigation.Page class to highlight that point.
Having a A.page.xml page in the project is misleading: the developper may think that it
is processed by Seam while it's not. And moreover, this may introduce side effect when
migrating to a future version of Seam that could take this A.page.xml into account.
So when a page is included, Seam validator should issue a warning/error saying "The
navigation file .page.xml file of included xhtml pages is not processed by Seam. You
should consider removing it" if a corresponding page.xml file exists.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira