mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
Call toString() on itemKey instead of the output of stack.findValue().
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -42,14 +42,14 @@
|
||||
<#if parameters.listKey?exists>
|
||||
<#if stack.findValue(parameters.listKey)?exists>
|
||||
<#assign itemKey = stack.findValue(parameters.listKey)/>
|
||||
<#assign itemKeyStr = stack.findValue(parameters.listKey).toString()/>
|
||||
<#assign itemKeyStr = itemKey.toString()/>
|
||||
<#else>
|
||||
<#assign itemKey = ''/>
|
||||
<#assign itemKeyStr = ''/>
|
||||
</#if>
|
||||
<#else>
|
||||
<#assign itemKey = stack.findValue('top')/>
|
||||
<#assign itemKeyStr = stack.findValue('top').toString()/>
|
||||
<#assign itemKeyStr = itemKey.toString()/>
|
||||
</#if>
|
||||
<#if parameters.listValue?exists>
|
||||
<#if stack.findString(parameters.listValue)?exists>
|
||||
|
||||
Reference in New Issue
Block a user