velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: Can I write a macro that can call itself?
Date Fri, 13 Jul 2001 02:14:18 GMT
on 7/12/01 12:43 PM, "Uday Kumar" <uday@eself.com> wrote:

> Hi
> 
> I am very new to velocity. i have a question... I wanna do recursion using
> velocity. There is an example in the documentation where the .vm file calls
> itself. But, what i am wondering is - Can a macro call itself? Is that
> permitted in velocity? "Can I write a macro that can call itself?" is my
> ultimate question....
> 
> Please let me know
> 
> Thanks in advance
> 
> -Uday

Yes. 

In the future, before you post a question asking something, please try it
out yourself first.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


Mime
View raw message