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]

Reply via email to