Re: Calling object method with no parameters without parentheses in template
Dmitry Bondarenko <[email protected]> Tue, 22 Oct 2013 11:13:30 +0300
| Newsgroups | gmane.comp.web.freemarker.devel |
|---|---|
| Message-ID | <[email protected]> |
On 10/16/2013 01:27 PM, Daniel Dekany wrote:
> Hello,
>
> Right now, this is possible with *configuring* DefaultObjectWrapper
> (or whatever BeansWrapper-s):
>
> http://stackoverflow.com/questions/18918141/freemarker-get-method-without-get/
>
> With this ${Foo.bar} will work, but ${Foo.bar()} won't.
>
Hello, all!
Thanks for your answers, we think Daniel's solution is good enough for
us, so thank you for help!
--
Best regards, Dmitry Bondarenko
Anadea Inc
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk