WW-1887 struts template/simple/select.ftl error/fix

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Holmes
2007-07-19 14:51:31 +00:00
parent c33de8671b
commit a8a7008068
@@ -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>