You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by tm...@apache.org on 2006/04/29 17:27:15 UTC
svn commit: r398179 -
/incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl
Author: tmjee
Date: Sat Apr 29 08:27:14 2006
New Revision: 398179
URL: http://svn.apache.org/viewcvs?rev=398179&view=rev
Log:
ww-1300 (patched submited by Dennis) Thx Dennis.
Modified:
incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl
Modified: incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl
URL: http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl?rev=398179&r1=398178&r2=398179&view=diff
==============================================================================
--- incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl (original)
+++ incubator/webwork2/action/src/main/resources/template/simple/checkboxlist.ftl Sat Apr 29 08:27:14 2006
@@ -12,7 +12,8 @@
<#else>
<#assign itemValue = stack.findString('top')/>
</#if>
-<input type="checkbox" name="${parameters.name?html}" value="${itemKey?html}" id="${parameters.name?html}-${itemCount}"<#rt/>
+<#assign itemKeyStr=itemKey.toString() />
+<input type="checkbox" name="${parameters.name?html}" value="${itemKeyStr?html}" id="${parameters.name?html}-${itemCount}"<#rt/>
<#if tag.contains(parameters.nameValue, itemKey)>
checked="checked"<#rt/>
</#if>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org