You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by jh...@apache.org on 2007/07/18 17:25:10 UTC

svn commit: r557292 - /struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl

Author: jholmes
Date: Wed Jul 18 08:25:06 2007
New Revision: 557292

URL: http://svn.apache.org/viewvc?view=rev&rev=557292
Log:
WW-1618 ww:doubleselect javascript uses name instead of id, resulting in array names that don't work

Modified:
    struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl

Modified: struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl?view=diff&rev=557292&r1=557291&r2=557292
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/doubleselect.ftl Wed Jul 18 08:25:06 2007
@@ -73,7 +73,7 @@
     <#assign itemCount = itemCount + 1/>
 </...@s.iterator>
 
-    var ${parameters.id}Temp = document.${parameters.formName}.${parameters.doubleName};
+    var ${parameters.id}Temp = document.${parameters.formName}.${parameters.doubleId};
 <#assign itemCount = startCount/>
 <#assign redirectTo = 0/>
 <@s.iterator value="parameters.list">