struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-1328) Implement theme inheritance
Date Thu, 06 Oct 2011 13:26:29 GMT

    [ https://issues.apache.org/jira/browse/WW-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121934#comment-13121934
] 

Lukasz Lenart commented on WW-1328:
-----------------------------------

tibi could you update the patch to the latest version ? I was trying to apply this patch but
many tests have failed
                
> Implement theme inheritance
> ---------------------------
>
>                 Key: WW-1328
>                 URL: https://issues.apache.org/jira/browse/WW-1328
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Tags
>    Affects Versions: WW 2.2.2, 2.0.0
>            Reporter: Nick Hill
>             Fix For: Future
>
>         Attachments: hierarchicial-themes.patch
>
>
> If you look at one of the xhtml themes, for example, text.ftl, it is hard coded to use
the xhtml controlfooter. This poses a problem for overridding the theme.
> Example xhtml/text.ftl:
> <#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" />
> <#include "/${parameters.templateDir}/simple/text.ftl" />
> <#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />
> Notice the controlfooter does not use ${parameters.theme} but rather is hard coded to
xhtml. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message