Fixed problem in error report when error occurs deeper than action level

WW-1660


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@498088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald J. Brown
2007-01-20 08:24:28 +00:00
parent 9ed7fce11a
commit 4cf46d99a9
@@ -42,11 +42,19 @@
<#if (msgs?size > 1)>
<ol>
<#list msgs as msg>
<li>${msg}</li>
<#if (msg?is_method)>
<li>${msg[0]}</li>
<#else>
<li>${msg}</li>
</#if>
</#list>
</ol>
<#elseif (msgs?size == 1)>
${msgs[0]}
<#if (msg?is_method)>
<li>${msgs[0][0]}</li>
<#else>
<li>${msgs[0]}</li>
</#if>
</#if>
</td>
</tr>