[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-1484) Seam-gen should generate pages using templates relative to web application, not the pages themselves

Gavin King (JIRA) jira-events at lists.jboss.org
Wed Nov 28 18:34:56 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1484?page=all ]

Gavin King reopened JBSEAM-1484:
--------------------------------

             
I think you'll need to roll this back. I was very careful with this stuff to make sure it:

* previewed correctly in JBoss Tools
* worked in all browsers



> Seam-gen should generate pages using templates relative to web application, not the pages themselves
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1484
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1484
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: Tools
>    Affects Versions: 1.3.0.ALPHA
>            Reporter: Dejan Krsmanovic
>         Assigned To: Dan Allen
>            Priority: Minor
>             Fix For: 2.0.1.GA
>
>         Attachments: seam-gen.txt
>
>
> Seam-gen currently creates facelets xhtml pages having ui-composition element with template attribute specified relative to page itself. This is OK if all pages are stored in the root folder of web application. However, when you start refactoring and moving pages to separate folders you need to update template attribute in all ui-composition elements in moved pages. 
> So, I think seam-gen should generate pages with ui-composition element which references template relative to web-app, and not the page. In other words instead of:
> <ui:composition ...   template="layout/template.xhtml">
> it should be:
> <ui:composition ...   template="/layout/template.xhtml">
> With this change, you can move xhtml pages to any folder and template would still be referenced correctly. 

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