how to make freeMarker simply call toString?
Vitaliy Semochkin <[email protected]> Sun, 30 Mar 2014 14:16:07 +0400
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <CAHyKpfPnCUgFFXtTQ=gvg=7-fdGMQXRVa9tL+wr=DQCa5f-7ig@mail.gmail.com> |
Hello,
I want to configure Freemarker
in order to make it replace
every ${object}, ${object.someField}, ${object.someMethod()}
in my template with a toString value for the returned object.
Even if it is an array, list, map or collection.
How to configure freemarkert in order to do so?
Regards,
Vitaliy
------------------------------------------------------------------------------
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user