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

Select tag breaks when multiple=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 2.1.0
    • Plugin - Tags
    • None
    • Important

    Description

      The problem occurs on the select tag when multiple=true. It was OK on 2.0.5.

      The problem comes from the simple/select.ftl template on line 60 when evaluating
      (parameters.nameValue?exists && parameters.nameValue?string == itemKey)

      when multiple is true, the value type is not a string but an array of bean.

      To circumvent the problem, I downloaded the latest version of select.ftl template from fisheyes which works perfectly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nicolas Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: