[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4661) Seam validator should issue a warning/error when a xhtml page with a .page.xml file is included in another xhtml file

Julien Kronegg (JIRA) jira-events at lists.jboss.org
Fri Jul 24 22:28:29 EDT 2009


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: Tools (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
            Priority: Minor


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

        


More information about the jbosstools-issues mailing list