This fix will work also with primitve types & is more fm-like

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@504196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
René Gielen
2007-02-06 16:58:23 +00:00
parent 1432b02048
commit a5f3306e9b
@@ -57,7 +57,7 @@
<#assign itemValue = stack.findString('top')/>
</#if>
<option value="${itemKey?html}"<#rt/>
<#if parameters.nameValue?exists && tag.contains(parameters.nameValue.toString(), itemKey) == true>
<#if parameters.nameValue?exists && tag.contains(parameters.nameValue?string, itemKey) == true>
selected="selected"<#rt/>
</#if>
>${itemValue?html}</option><#lt/>