[
http://jira.jboss.com/jira/browse/JBSEAM-715?page=all ]
Stephan Bublava updated JBSEAM-715:
-----------------------------------
Issue Type: Patch (was: Feature Request)
This patch allows multiple pages.xml files to be specified in components.xml, e.g.:
<core:pages page-files="/WEB-INF/pages.xml,/WEB-INF/more-pages.xml" />
If you do not agree with this change, please consider changing the visibility of
Pages.parse(InputStream) to protected, so that I can add the functionality in a subclass.
Thanks,
Stephan
Allow multiple pages.xml files
------------------------------
Key: JBSEAM-715
URL:
http://jira.jboss.com/jira/browse/JBSEAM-715
Project: JBoss Seam
Issue Type: Patch
Components: JSF
Affects Versions: 1.1.1.GA
Reporter: Stephan Bublava
Assigned To: Gavin King
Attachments: multiple-pages-files-patch.txt
Currently it's possible to use one global pages.xml file or one file per page. I
believe that both options are not well-suited for large applications.
Consider an application like:
/catalog/foo.xhtml
/bar.xhtml
/...
/basket/foo.xhtml
/bar.xhtml
/...
/admin/foo.xhtml
/bar.xhtml
/...
In this case using a global file would be too convoluted, but at the same time one file
per page is too fine grained.
It would be great to allow one file per directory ("module"), either using a
similar naming convention to page.xml or by adding an "import" tag to pages.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira