Author: jholmes Date: Thu Jul 19 07:51:31 2007 New Revision: 557647 URL: http://svn.apache.org/viewvc?view=rev&rev=557647 Log: WW-1887 struts template/simple/select.ftl error/fix
Modified: struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl Modified: struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl?view=diff&rev=557647&r1=557646&r2=557647 ============================================================================== --- struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl (original) +++ struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl Thu Jul 19 07:51:31 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>