Re: Print the current template
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Tuesday, August 5, 2008, 1:53:15 PM, Attila Szegedi wrote:
> Hm... That isn't currently possible. I wonder whether we could just
> define a new built-in variable, .template_name ?
Yes. BTW, if that's done, we could push out another 2.3.x release,
shouldn't we?
> Attila.
>
> On Aug 5, 2008, at 1:37 PM, Ista Pouss wrote:
>
>> Hi,
>>
>> How is it possible to print the current template ?
>>
>> For exemple, in the template foo.ftl, the text "This is
>> ${templateNow}" print "This is foo.ftl".
>>
>> Thanks.
--
Best regards,
Daniel Dekany
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/