struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-1328) Implement theme inheritance
Date Mon, 28 Oct 2013 17:30:40 GMT

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

Lukasz Lenart resolved WW-1328.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Theme inheritance improved with WW-4145 

> 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
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.16
>
>         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:
> {code:html}
> <#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" />
> <#include "/${parameters.templateDir}/simple/text.ftl" />
> <#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />
> {code}
> Notice the controlfooter does not use {{$\{parameters.theme}}} but rather is hard coded
to xhtml. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message