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
<robert.zeig...@roxanemy.com> wrote:
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 sure the answer's NO, but just incase I'll ask anyway.
Is it possible to include method arguments in template expansions?
I would die to be able to just do this:
<a href="link1" class="${class('link1')}">link1</a>
<a href="link2" class="${class('link2')}">link2</a>
<a href="link3" class="${class('link3')}">link3</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org