[ 
https://issues.apache.org/struts/browse/WW-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom Schneider resolved WW-1809.
-------------------------------

    Resolution: Duplicate

This is a duplicate of  WW-2159.  The issue is that in some places we don't use 
${parameters.theme}, instead we hardcode the current theme.  This is true of 
many of the templates in the css_xhtml and xhtml theme.

> 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: Plugin - Tags
>    Affects Versions: 2.0.6
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> 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.

Reply via email to