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/19 16:47:29 UTC

svn commit: r557644 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl

Author: jholmes
Date: Thu Jul 19 07:47:28 2007
New Revision: 557644

URL: http://svn.apache.org/viewvc?view=rev&rev=557644
Log:
WW-1887 struts template/simple/select.ftl error/fix

Modified:
    struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl

Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl?view=diff&rev=557644&r1=557643&r2=557644
==============================================================================
--- struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl (original)
+++ struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/simple/select.ftl Thu Jul 19 07:47:28 2007
@@ -57,7 +57,8 @@
         <#else>
             <#assign itemValue = stack.findString('top')/>
         </#if>
-    <option value="${itemKey?html}"<#rt/>
+    <#assign itemKeyStr = itemKey.toString()/>
+    <option value="${itemKeyStr?html}"<#rt/>
         <#if tag.contains(parameters.nameValue, itemKey) == true>
  selected="selected"<#rt/>
         </#if>