In 5.1 I want to extend the Tapestry property expression language
quite a bit further to address this (invoking methods), as well as map
and array ceation ... basically, all the cool OGNL stuff people miss.

On Fri, May 9, 2008 at 7:52 AM, kranga <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to