Re: discover macro name

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Sunday, March 23, 2008, 7:30:32 AM, Ioannis Cherouvim wrote:

> Hello
>
> I'd like to know if it is possible to dynamically discover the currently
> executing macro name. For example:
> <#macro foo>
>   ...
> </#macro>
>
> What do I have to do in order for the macro above to output the word 
> "foo"? That is the name of the macro.

I don't know, but, out of curiosity, what is that needed for?

> thanks,
> Ioannis

-- 
Best regards,
 Daniel Dekany


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.