methods with parameters
"Flower, Martin" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <C3718196A3748C4C96FB42AEA6639A9F0BBAA38630@SENWK-S-EXM2.papyrus.lan> |
Hi - in Velocity I do the following
${messageSource.getMessage("update.email.subject", null, $locale)}
I have looked up and down the freemarker manuals - I know it must be staring me in the face, but I can't find an example of how to do this in Freemarker (which I would prefer). I know I can call methods without parameters, for example ${locale.getDisplayLanguage()}.
Any pointers ?
Thanks
Martin
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev