On Mon, 07 Nov 2011 14:51:37 -0200, Bo Gao <eli...@gmail.com> wrote:
void setupRender() {
env.push(String.class, "++" + this.count);
}
void afterRender() {
env.pop(String.class);
}
Component event lifecycle events are only triggered when the whole page or
component is rendered. In this case, you're rendering a Zone, so your page
isn't rendered (just a part of it) and setupRender() and afterRender()
aren't invoked. Use the RenderNotification mixin or the Trigger component
inside your zone to push and pop objects in the Environment.
--
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