You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Florent Nicoulaud (JIRA)" <ji...@apache.org> on 2010/03/29 15:23:27 UTC

[jira] Created: (WW-3423) freemarker error in simple template select.ftl when parameter multiple="true" and parameter name is missing

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

                 Key: WW-3423
                 URL: https://issues.apache.org/jira/browse/WW-3423
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.8.1
         Environment: Windows XP
Java 1.6.0_16
Tomcat 6.0.18
            Reporter: Florent Nicoulaud


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]
----------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.