velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From by...@apache.org
Subject svn commit: r732913 - /velocity/engine/trunk/xdocs/docs/user-guide.xml
Date Fri, 09 Jan 2009 02:48:51 GMT
Author: byron
Date: Thu Jan  8 18:48:50 2009
New Revision: 732913

URL: http://svn.apache.org/viewvc?rev=732913&view=rev
Log:
Remove legacy docs about Velocimacro requiring macros to be define before a reference

Modified:
    velocity/engine/trunk/xdocs/docs/user-guide.xml

Modified: velocity/engine/trunk/xdocs/docs/user-guide.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/user-guide.xml?rev=732913&r1=732912&r2=732913&view=diff
==============================================================================
--- velocity/engine/trunk/xdocs/docs/user-guide.xml (original)
+++ velocity/engine/trunk/xdocs/docs/user-guide.xml Thu Jan  8 18:48:50 2009
@@ -1863,24 +1863,6 @@
     This feature is intended for development, not for production.
     </p>
 
-    <strong>Velocimacro Trivia</strong>
-
-    <p>
-    Currently, Velocimacros must be defined before they are first
-    used in a template.  This means that your #macro() declarations
-    should come before using the Velocimacros.
-    </p>
-
-    <p>
-    This is important to remember if you try to #parse()
-    a template containing inline #macro() directives.  Because
-    the #parse() happens at runtime, and the parser decides if
-    a VM-looking element in the template is a VM at parsetime,
-    #parse()-ing a set of VM declarations won't work as expected.
-    To get around this, simply use the <code>velocimacro.library</code>
-    facility to have Velocity load your VMs at startup.
-    </p>
-
 </section>
 
 <section name="Getting literal" href="getting_literal">



Mime
View raw message