struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Jambou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4253) radiomap xhtml template
Date Tue, 10 Dec 2013 10:23:07 GMT
Mathieu Jambou created WW-4253:
----------------------------------

             Summary: radiomap xhtml template
                 Key: WW-4253
                 URL: https://issues.apache.org/jira/browse/WW-4253
             Project: Struts 2
          Issue Type: Bug
          Components: Build Management
    Affects Versions: 2.3.4
            Reporter: Mathieu Jambou


In simple/radiomap.ftl setting of class and style occurs twice.

source code:

<#if parameters.cssClass??>
 class="${parameters.cssClass?html}"<#rt/>
</#if>
<#if parameters.cssStyle??>
 style="${parameters.cssStyle?html}"<#rt/>
</#if>
<#include "/${parameters.templateDir}/simple/css.ftl" />

And css.ftl handle class and style again.

My solution:

Remove:
<#if parameters.cssClass??>
 class="${parameters.cssClass?html}"<#rt/>
</#if>
<#if parameters.cssStyle??>
 style="${parameters.cssStyle?html}"<#rt/>
</#if>



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message