Re: Print the current template
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Thursday, August 7, 2008, 12:40:56 AM, Jonathan Revusky wrote: > 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 OK, inform us if you think it's ready. >>> 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=/