[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-715) Allow multiple pages.xml files

Hiroyuki Wada (JIRA) jira-events at lists.jboss.org
Sat Jun 2 15:11:08 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-715?page=comments#action_12363999 ] 
            
Hiroyuki Wada commented on JBSEAM-715:
--------------------------------------

I extended Stephan Bublava's patch and attached.
This patch allows multiple pages.xml files in directory to be searched automatically.

<core:pages page-files="/WEB-INF/pages.xml,/WEB-INF/pages/" />

> 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-2.txt, 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

        



More information about the seam-issues mailing list