[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1110) Support multiple bundle for a view-id in pages.xml

Gavin King (JIRA) jira-events at lists.jboss.org
Mon May 21 13:39:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1110?page=comments#action_12362759 ] 
            
Gavin King commented on JBSEAM-1110:
------------------------------------

Also note that there were no votes for this feature in 2 months.

> Support multiple bundle for a view-id in pages.xml
> --------------------------------------------------
>
>                 Key: JBSEAM-1110
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1110
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.2.0.GA
>            Reporter: Bing Zou
>
> Since Seam supports Facelets. A typical thing we do by using Facelets is the idea of templates. For example, two concrete pages a.xhtml, b.xhtml both extend from template.xhtml. We want to separate the resource bundle for each concrete page as a coding standard. Then in pages.xml we will have 
> <page view-id="/parentfolder/a.xhtml" bundle="parentFolder/a" />
> <page view-id="/parentfolder/b.xhtml" bundle="parentFolder/b" />
> However, since both a.xhtml and b.xhtml has the same template.xhtml, we want to separate the common fields from template.xhtml to it's own resource bundle. Therefore, for each view-id should have an additional bundle, for example,
> <page view-id="/parentfolder/a.xhtml" bundle="parentFolder/a,parentFolder/template" /> 
> Or maybe Seam can be smart to find out that a.xhtml extends from template.xhtml and there is a <page view-id="/parentFolder/template.xhtml" bundle="parentFolder/template" /> and then both bundle will be available for view-id a.xhtml. Of course, if there is any conflict, the child page always override parent page's property.

-- 
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