Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4253

radiomap xhtml template

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.20
    • Component/s: Plugin - Tags
    • Labels:
    • Flags:
      Important

      Description

      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>
      

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              MathieuJ Mathieu Jambou
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified