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 2003/11/20 06:43:18 UTC
cvs commit: jakarta-velocity-tools/src/java/org/apache/velocity/tools/generic RenderTool.java
nbubna 2003/11/19 21:43:18
Modified: src/java/org/apache/velocity/tools/generic RenderTool.java
Log:
a minor note of clarification for newbies
Revision Changes Path
1.4 +8 -3 jakarta-velocity-tools/src/java/org/apache/velocity/tools/generic/RenderTool.java
Index: RenderTool.java
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/src/java/org/apache/velocity/tools/generic/RenderTool.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- RenderTool.java 6 Nov 2003 00:26:54 -0000 1.3
+++ RenderTool.java 20 Nov 2003 05:43:18 -0000 1.4
@@ -64,8 +64,13 @@
/**
* This tool exposes methods to evaluate the given
* strings as VTL (Velocity Template Language)
- * using the given context.<br>
- *
+ * using the given context.
+ * <p>
+ * NOTE: These examples assume you have placed an
+ * instance of the current context within itself
+ * as 'ctx'. And, of course, the RenderTool is
+ * assumed to be available as 'render'.
+ * </p>
* <pre>
* Example of eval():
* Input
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org