You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2004/11/10 21:24:19 UTC
cvs commit: jakarta-velocity-tools/xdocs/struts ErrorsTool.xml
nbubna 2004/11/10 12:24:19
Modified: xdocs/struts ErrorsTool.xml
Log:
fix BUG 31917 - missing parentheses in getAll() example
Revision Changes Path
1.5 +2 -2 jakarta-velocity-tools/xdocs/struts/ErrorsTool.xml
Index: ErrorsTool.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/xdocs/struts/ErrorsTool.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ErrorsTool.xml 18 Feb 2004 20:22:36 -0000 1.4
+++ ErrorsTool.xml 10 Nov 2004 20:24:19 -0000 1.5
@@ -195,7 +195,7 @@
<p>The following example shows a macro to render the error messages:</p>
<sourcecode>#macro (errorMarkup)
- #if ($errors.exist)
+ #if ($errors.exist())
<ul>
#foreach ($e in $errors.all )
<li>$e</li>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org