You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "ross.efi" <ro...@att.net> on 2009/10/14 21:47:37 UTC
T5: ognl equivalents
Is there an equivalent expression in Tapestry5 to the following Tapestry4
OGNL expression:
ognl:@com.myexample.SomeDomainObject@SOME_CONSTANT
or do I have to just expose it via a getter on the page class?
Seems like more code than necessary.
Ross
--
View this message in context: http://www.nabble.com/T5%3A-ognl-equivalents-tp25897794p25897794.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: ognl equivalents
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 14 Oct 2009 16:47:37 -0300, ross.efi <ro...@att.net> escreveu:
> Is there an equivalent expression in Tapestry5 to the following Tapestry4
> OGNL expression:
> ognl:@com.myexample.SomeDomainObject@SOME_CONSTANT
Just use the OGNL binding provided by ChenilleKit. Or, better yet, create
a getter in your page class.
> Seems like more code than necessary.
I don't think so. :)
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org