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

freemarker error in simple template select.ftl when parameter multiple="true" and parameter name is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.1.8.1
    • 2.3.20
    • None
    • Windows XP
      Java 1.6.0_16
      Tomcat 6.0.18

    Description

      File : template/simple/select.ftl

      Select tag does not require "name" parameter.
      But when "multiple" is set to "true" the template will try to read "parameters.name"
      Leading to the following FreeMarker template error :

      Expression parameters.name is undefined on line 92, column 85 in template/simple/select.ftl.
      The problematic instruction:

      ${parameters.name?html} [on line 92, column 83 in template/simple/select.ftl]
      

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            florentnicoulaud Florent Nicoulaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: