doubleselect.ftl formats long numbers with commas

o backport from WW 2.2.4

Issue Number: WW-1445

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Hermanns
2006-09-13 11:47:19 +00:00
parent b9964b9e86
commit d5b0a680d2
@@ -57,12 +57,13 @@
<#else>
<#assign doubleItemKey = stack.findValue('top')/>
</#if>
<#assign doubleItemKeyStr = doubleItemKey.toString() />
<#if parameters.doubleListValue?exists>
<#assign doubleItemValue = stack.findString(parameters.doubleListValue)/>
<#else>
<#assign doubleItemValue = stack.findString('top')/>
</#if>
${parameters.name}Group[${itemCount}][${doubleItemCount}] = new Option("${doubleItemValue}", "${doubleItemKey}");
${parameters.name}Group[${itemCount}][${doubleItemCount}] = new Option("${doubleItemValue}", "${doubleItemKeyStr}");
<#assign doubleItemCount = doubleItemCount + 1/>
</@s.iterator>