On Thu, 24 Nov 2011 08:17:55 -0200, Jose Luis Sanchez <joseluis.sanc...@m-centric.com> wrote:

Well, struts 1.x, but since 2009 i'm using tap5.x

Hehehe, I was right. :)

So, what are your recomendations ? Which is the default/recommended Tapestry5 behaviour ? I always get the data before rendering

In this case, I don't think there's a recommended behavior, as it won't make any difference in performance or memory usage. Just do what do you think it's more appropriate in each case. I usually only get data before rendering when it's used in more than one place. Anyway, you can use @Cached in the method and its result will be evaluated just once inside a request.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to