Author: wglass
Date: Mon Jan 16 09:29:55 2006
New Revision: 369529

URL: http://svn.apache.org/viewcvs?rev=369529&view=rev
Log:
Fixed typo in jdom example.  Thanks to Adrian Smith for the catch.

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

Modified: jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml?rev=369529&r1=369528&r2=369529&view=diff
==============================================================================
--- jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml (original)
+++ jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml Mon Jan 16 
09:29:55 2006
@@ -2392,7 +2392,8 @@
 {}
 
 VelocityContext vc = new VelocityContext();
-vc.put("root", root );
+vc.put("root", root.getRootElement());
+
 
 ...
 ]]></source>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to