[
https://issues.apache.org/jira/browse/WW-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-3423.
-----------------------------
Assignee: Lukasz Lenart
> 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
> Assignee: Lukasz Lenart
> Labels: freemarker, multiple, name, select, tag, template
> Fix For: 2.3.17
>
>
> 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:
> {noformat}
> ${parameters.name?html} [on line 92, column 83 in template/simple/select.ftl]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)