Author: musachy
Date: Tue Mar 31 16:57:56 2009
New Revision: 760523
URL: http://svn.apache.org/viewvc?rev=760523&view=rev
Log:
WW-2367 Call converter in select tag values
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?rev=760523&r1=760522&r2=760523&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl
(original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/select.ftl Tue
Mar 31 16:57:56 2009
@@ -60,14 +60,14 @@
<#if parameters.listKey??>
<#if stack.findValue(parameters.listKey)??>
<#assign itemKey = stack.findValue(parameters.listKey)/>
- <#assign itemKeyStr = itemKey.toString()/>
+ <#assign itemKeyStr = stack.findString(parameters.listKey)/>
<#else>
<#assign itemKey = ''/>
<#assign itemKeyStr = ''/>
</#if>
<#else>
<#assign itemKey = stack.findValue('top')/>
- <#assign itemKeyStr = itemKey.toString()/>
+ <#assign itemKeyStr = stack.findString('top')>
</#if>
<#if parameters.listValue??>
<#if stack.findString(parameters.listValue)??>