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 2008/06/16 20:08:45 UTC
svn commit: r668253 -
/struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl
Author: jholmes
Date: Mon Jun 16 11:08:45 2008
New Revision: 668253
URL: http://svn.apache.org/viewvc?rev=668253&view=rev
Log:
Reverse changes made in revision 667876.
WW-2238
Modified:
struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl
Modified: struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl?rev=668253&r1=668252&r2=668253&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/checkboxlist.ftl Mon Jun 16 11:08:45 2008
@@ -34,11 +34,6 @@
<#else>
<#assign itemValue = stack.findString('top')/>
</#if>
- <#if parameters.label?exists>
- <#assign itemLabel = stack.findString(parameters.label)/>
- <#else>
- <#assign itemLabel = itemValue/>
- </#if>
<#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)>
@@ -53,7 +48,7 @@
<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
<#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
/>
-<label for="${parameters.name?html}-${itemCount}" class="checkboxLabel">${itemLabel?html}</label>
+<label for="${parameters.name?html}-${itemCount}" class="checkboxLabel">${itemValue?html}</label>
</...@s.iterator>
<#else>