Re: Method arguments in template expansions

2011-06-26 Thread Joel Halbert
Cool, it works! I had tried it, but forgotten that method names are not shortened, so as Robert suggested you have to use the full method name: ${getFoo('bar')} works. ${foo('bar')} does not. On Sun, 2011-06-26 at 01:53 +0200, Martin Strand wrote: > Just remember that method names are not "

Re: Method arguments in template expansions

2011-06-25 Thread Martin Strand
Just remember that method names are not "shortened" in the same way property names are. i.e. invoking this method: public String getClass(String link) would look like: ${getClass('link1')} On Sun, 26 Jun 2011 01:33:39 +0200, Robert Zeigler wrote: Have you tried? :) ${} is using the prop

Re: Method arguments in template expansions

2011-06-25 Thread Robert Zeigler
Have you tried? :) ${} is using the property expression language under the hood, which /does/ support method evaluation/method arguments, so I would expect ${class('link1')} to work... but i haven't tried it, either. :) Robert On Jun 25, 2011, at 6/256:31 PM , Joel Halbert wrote: > I'm pretty