]
Antonio Goncalves updated FORGE-1580:
-------------------------------------
Summary: Having more flexible templating to integrate JSF pages better (was:
Integrating the generated JSF pages better into a entire web application)
Having more flexible templating to integrate JSF pages better
-------------------------------------------------------------
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)