Fastest solution is the t5components module, which re-introduces the
ognl binding:
http://87.193.218.134:8080/t5components/t5c-commons/howto_ognlbinding.htmlCheers,
Robert
On May 9, 2008, at 5/99:52 AM , kranga wrote:
> 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:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...