Thanks Thiago, that is such a great observation about setupRender() being invoked in components in a Zone that I will be putting it to use in the next release of JumpStart. I think you'll like it.
Cheers, Geoff On 12/05/2010, at 6:31 AM, Thiago H. de Paula Figueiredo wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org