You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Juan Alvarez <ja...@fluidsignal.com> on 2003/02/25 14:19:31 UTC
OGNL Bindings with parameters
I want to make a binding with parameters. I try this type of binding,
but does not work.
prop1.prop2.prop3.prop4(prop5.prop6.prop7)
This is possible? any suggestions?
I search in the tutorial (egrep 'expression\=' * -r|less) and i dont
see nothing similar, and in the OGNL i cant find examples about it.
--
Juan Alvarez Fluidsignal Group S.A.
mailto:jalvarez@fluidsignal.com http://www.fluidsignal.com/
Key fingerprint: 15C4 0986 A174 862A B607 8EEA 934F 8649 07E2 EA40
RE: OGNL Bindings with parameters
Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
I believe you can do this, but it should be getProp4() not just "prop4". It
isn't a property, it's a method you are invoking. Fortunately, OGNL can do
this.
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry
> -----Original Message-----
> From: Juan Alvarez [mailto:jalvarez@fluidsignal.com]
> Sent: Tuesday, February 25, 2003 8:20 AM
> To: tapestry-user@jakarta.apache.org
> Subject: OGNL Bindings with parameters
>
>
> I want to make a binding with parameters. I try this type of
> binding, but does not work.
>
> prop1.prop2.prop3.prop4(prop5.prop6.prop7)
>
> This is possible? any suggestions?
>
> I search in the tutorial (egrep 'expression\=' * -r|less) and i dont
> see nothing similar, and in the OGNL i cant find examples about it.
>
> --
> Juan Alvarez Fluidsignal Group S.A.
> mailto:jalvarez@fluidsignal.com http://www.fluidsignal.com/
> Key fingerprint: 15C4 0986 A174 862A B607 8EEA 934F 8649 07E2 EA40
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>