5.2 for RenderNotification mixin, I assume?

On Fri, May 14, 2010 at 6:52 PM, Howard Lewis Ship <hls...@gmail.com> wrote:

> I also use the RenderNotification mixin to find out when a component
> has rendered as part of an Ajax partial update; the event handler can
> then collection client ids and add JavaScript.
>
> On Fri, May 14, 2010 at 9:04 AM, Geoff Callender
> <geoff.callender.jumpst...@gmail.com> wrote:
> > 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
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to