struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4253) radiomap xhtml template
Date Sat, 22 Mar 2014 09:07:46 GMT

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

Hudson commented on WW-4253:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #27 (See [https://builds.apache.org/job/Struts-JDK6-develop/27/])
WW-4253 Removes duplicated class and style attribute (lukaszlenart: rev b775b74afdf2093d746c6c108d3f580e6d08599a)
* core/src/main/resources/template/simple/radiomap.ftl


> radiomap xhtml template
> -----------------------
>
>                 Key: WW-4253
>                 URL: https://issues.apache.org/jira/browse/WW-4253
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.3.4
>            Reporter: Mathieu Jambou
>            Assignee: Lukasz Lenart
>              Labels: easyfix
>             Fix For: 2.3.17
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> In simple/radiomap.ftl setting of class and style occurs twice.
> source code:
> {code:xml}
> <#if parameters.cssClass??>
>  class="${parameters.cssClass?html}"<#rt/>
> </#if>
> <#if parameters.cssStyle??>
>  style="${parameters.cssStyle?html}"<#rt/>
> </#if>
> <#include "/${parameters.templateDir}/simple/css.ftl" />
> {code}
> And css.ftl handle class and style again.
> My solution:
> Remove:
> {code:xml}
> <#if parameters.cssClass??>
>  class="${parameters.cssClass?html}"<#rt/>
> </#if>
> <#if parameters.cssStyle??>
>  style="${parameters.cssStyle?html}"<#rt/>
> </#if>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message