You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by by...@apache.org on 2009/01/09 03:48:51 UTC
svn commit: r732913 - /velocity/engine/trunk/xdocs/docs/user-guide.xml
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">