You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mr...@apache.org on 2006/10/10 06:39:48 UTC

svn commit: r454614 - /struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl

Author: mrdon
Date: Mon Oct  9 21:39:48 2006
New Revision: 454614

URL: http://svn.apache.org/viewvc?view=rev&rev=454614
Log:
Fixed problem report when column number < 3
WW-1453

Modified:
    struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl

Modified: struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl?view=diff&rev=454614&r1=454613&r2=454614
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/org/apache/struts2/dispatcher/error.ftl Mon Oct  9 21:39:48 2006
@@ -78,7 +78,7 @@
             
             <#list snippet as line>
                 <#if (line_index == 2)>
-                	<#if (rootloc.columnNumber >= 0)>
+                	<#if (rootloc.columnNumber >= 3)>
                         <pre style="background:yellow">${(line[0..(rootloc.columnNumber-3)]?html)}<span style="background:red">${(line[(rootloc.columnNumber-2)]?html)}</span><#if ((rootloc.columnNumber)<line.length())>${(line[(rootloc.columnNumber-1)..]?html)}</#if></pre>
                     <#else>
                        	<pre style="background:yellow">${line?html}</pre>