T5: ognl equivalents

2009-10-14 Thread ross.efi

Is there an equivalent expression in Tapestry5 to the following Tapestry4
OGNL expression:

ognl:@com.myexample.somedomainobj...@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-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5: ognl equivalents

2009-10-14 Thread Thiago H. de Paula Figueiredo

Em Wed, 14 Oct 2009 16:47:37 -0300, ross.efi  escreveu:


Is there an equivalent expression in Tapestry5 to the following Tapestry4
OGNL expression:
ognl:@com.myexample.somedomainobj...@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-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org