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>&#35;macro (errorMarkup)
  -    &#35;if (&#36;errors.exist)
  +    &#35;if (&#36;errors.exist())
           &lt;ul&gt;
           &#35;foreach (&#36;e in &#36;errors.all )
               &lt;li&gt;&#36;e&lt;/li&gt;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org