mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user