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> > > Cheers, > > Joel > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org