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

radiomap xhtml template

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.4
    • 2.3.20
    • Plugin - Tags
    • 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

            lukaszlenart Lukasz Lenart
            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