I missed that functionality as well. I use the ognl binding available in the t5components library.
http://87.193.218.134:8080/t5components/index.html I remember trying something complicated once, and I had problems with values being cached that should not have been, but it worked beautifully for the menu problem. > -----Original Message----- > From: kranga [mailto:[EMAIL PROTECTED] > Sent: Friday, May 09, 2008 10:53 AM > To: Tapestry users > Subject: T5: Calling method with parameter in prop > > In looking at converting from T3 to T5, I've to deal with constructs such > as: > > class="ognl:menuClassName('home')" where getMenuClassName uses the > parameter to compare with the page's "id" passed in to determine if this > is > the currentPage or not. So the template has multiple links with constructs > such as: > > class="ognl:menuClassName('about')" > class="ognl:menuClassName('contact')" etc. > > How do I do this in T5 given that prop bindings to methods cannot accept > arguments? I'm sure there is a workaround, I just can't seem to find one. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
