struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-1809) Support overriding controlfooter in xhtml/controlfooter.ftl
Date Tue, 13 Mar 2007 15:23:51 GMT
Support overriding controlfooter in xhtml/controlfooter.ftl
-----------------------------------------------------------

                 Key: WW-1809
                 URL: https://issues.apache.org/struts/browse/WW-1809
             Project: Struts 2
          Issue Type: Improvement
          Components: Views
    Affects Versions: 2.0.6
            Reporter: Jasper Rosenberg
            Priority: Minor


It would be nice if the template/xhtml/text.ftl file was:

<#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" />
<#include "/${parameters.templateDir}/simple/text.ftl" />
<#include "/${parameters.templateDir}/${parameters.theme}/controlfooter.ftl" />

rather than:

<#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" />
<#include "/${parameters.templateDir}/simple/text.ftl" />
<#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />

So that the controlfooter.ftl could be overwritten for an extending template library without
having to also override text.ftl

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message