On Tue, 11 May 2010 17:24:04 -0300, Juan Isern <juanis...@gmail.com> wrote:

Hi guys,

Hi!

I was wondering if there's a "version" of setupRender() that works for AJAX events too.

onActivate() is invoked in any kind of request. You can use ComponentResources.isRendering() to know if it is a rendering request and Request.isXHR() if it an AJAX request.

Another option is to wrap everything inside the Zone in a component. Its setupRender() method will be invoked.

--
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