[
http://jira.jboss.com/jira/browse/JBSEAM-715?page=comments#action_12363662 ]
Hiroyuki Wada commented on JBSEAM-715:
--------------------------------------
I want this feature too.
Moreover, I consider that it's very useful if it can just specify a directory which
include some *-pages.xml, e.g.
<core:pages page-dir="/WEB-INF/pagesdir" />
Core component scan all files under the /WEB-INF/pagesdir and regist *-pages.xml to
Pages component.
This is good for more large applications.
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
Fix For: 1.3.0.ALPHA
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