You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/09 10:21:40 UTC
[jira] [Updated] (WW-3423) freemarker error in simple template
select.ftl when parameter multiple="true" and parameter name is missing
[ https://issues.apache.org/jira/browse/WW-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3423:
------------------------------
Fix Version/s: 2.3.x
> 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
> Labels: freemarker, multiple, name, select, tag, template
> Fix For: 2.3.x
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira