You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Patrick Verboom <pa...@juwimm.com> on 2004/12/09 18:30:01 UTC

Include a velocity template in a velocity template

Hi,

I read about velocity including a static file in the template by using  
#include( "one.txt" ). Is it also possible to include another velocity 
template and run the included velocity code.

thanks in advance,
Patrick Verboom


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


RE: Include a velocity template in a velocity template

Posted by Mike Curwen <g_...@globallyboundless.com>.
http://jakarta.apache.org/velocity/user-guide.html#Parse


> -----Original Message-----
> From: Patrick Verboom [mailto:patrick.verboom@juwimm.com] 
> Sent: Thursday, December 09, 2004 11:30 AM
> To: Velocity Users List
> Subject: Include a velocity template in a velocity template
> 
> 
> Hi,
> 
> I read about velocity including a static file in the template 
> by using  
> #include( "one.txt" ). Is it also possible to include another 
> velocity 
> template and run the included velocity code.
> 
> thanks in advance,
> Patrick Verboom
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 


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