You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by La...@MSCsoftware.com on 2004/09/20 20:46:56 UTC

render.recurse()

In the thread "Constructing variable names dynamically", one of the 
correspondents mentioned render.recurse().  What is "render".  Is it 
accessible from the context when parsing input with DVSL?

Larry Siden, IBS consultant, Viper team
x72612

Re: render.recurse()

Posted by "Ravikanth.L" <ra...@yahoo.com>.
Hi,

"render" is the instance of RenderTool, which has been
passed to the context from java code in standalone
application.

VelocityContext context = new VelocityContext();
context.put("render",new
org.apache.velocity.tools.generic.RenderTool());
context.put("ctx",context);


With Regards,
Ravikanth.L



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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