Re: Print the current template
"Jonathan Revusky" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 5, 2008 at 10:46 AM, Daniel Dekany <[email protected]> wrote: > 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? If you do that, there is at least one thing I'd like to backport from the trunk. For example, the number_format="computer" option so that all numbers are displayed as if they were ?c. JR > >> 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=/ > _______________________________________________ > FreeMarker-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemarker-user > ------------------------------------------------------------------------- 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=/