[forge-issues] [JBoss JIRA] (FORGE-1580) Integrating the generated JSF pages better into a entire web application

Antonio Goncalves (JIRA) issues at jboss.org
Sun Sep 20 14:30:00 EDT 2015


     [ https://issues.jboss.org/browse/FORGE-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Goncalves updated FORGE-1580:
-------------------------------------
    Description: 
I often use Forge to create separate administration pages that will fit an entire web application (a bit like in TicketMonster). The problem is that all JSF pages use {{pageTemplate.xhtml}} and this template declares a header, footer and navigation menu. So the other pages of the web site cannot use this template.

Forge could either : 

* use 2 level of templates : the {{pageTemplate.xhtml}} only does the header and footer, and we had a new {{forgeTemplate.xhtml}} that uses {{pageTemplate.xhtml}} and adds a navigation menu
* we only use {{pageTemplate.xhtml}} but the template actually includes a {{header.xhtml}}, {{footer.xhtml}} and {{navigation.xhtml}} page (with the {{<ui:include>}} tag)

  was:
I often use Forge to create separate administration pages that will fit an entire web application (a bit like in TicketMonster). The problem is that all JSF pages use {{pageTemplate.xhtml}} and this template declares a navigation menu. So the other pages of the web site cannot use this template.

Forge could either : 

* use 2 level of templates : the {{pageTemplate.xhtml}} only does the header and footer, and we had a new {{forgeTemplate.xhtml}} that uses {{pageTemplate.xhtml}} and adds a navigation menu
* we only use {{pageTemplate.xhtml}} but the menu is an external component that could only be used by Forge pages.



> Integrating the generated JSF pages better into a entire web application
> ------------------------------------------------------------------------
>
>                 Key: FORGE-1580
>                 URL: https://issues.jboss.org/browse/FORGE-1580
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Scaffold
>    Affects Versions: 2.0.0.Final
>            Reporter: Antonio Goncalves
>             Fix For: 2.x Future
>
>
> I often use Forge to create separate administration pages that will fit an entire web application (a bit like in TicketMonster). The problem is that all JSF pages use {{pageTemplate.xhtml}} and this template declares a header, footer and navigation menu. So the other pages of the web site cannot use this template.
> Forge could either : 
> * use 2 level of templates : the {{pageTemplate.xhtml}} only does the header and footer, and we had a new {{forgeTemplate.xhtml}} that uses {{pageTemplate.xhtml}} and adds a navigation menu
> * we only use {{pageTemplate.xhtml}} but the template actually includes a {{header.xhtml}}, {{footer.xhtml}} and {{navigation.xhtml}} page (with the {{<ui:include>}} tag)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list