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

Radio tag not setting enum key values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 6.0.0
    • 6.4.0
    • Core Tags
    • None

    Description

      The simple/radiomap.ftl will not "check" a radio value if the key is of type enum. The comparison line should test the itemKeyStr and not itemKey to fix this

       

      Current

      <#if tag.contains(parameters.nameValue!'', itemKey)>
          checked="checked"<#rt/>
      </#if> 

      Fix

      <#if tag.contains(parameters.nameValue!'', itemKeyStr)>
          checked="checked"<#rt/>
      </#if> 

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              burtonrhodes Burton Rhodes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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