You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2007/03/30 15:33:11 UTC

[T4] How to tell if a component rendered or not

Is there a good way to tell if a component has rendered or not?

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


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


Re: [T4] How to tell if a component rendered or not

Posted by Jesse Kuhnert <jk...@gmail.com>.
You can use the various renderStack<Foo> methods on IRequestCycle (in
4.1) to look at components containing the current component. (ie it's
relative to where you execute the methods from as each component is
popped off the stack after it is done rendering)

You also have the whole ComponentRenderWorker hivemind chain that you
can contribute to - the basic gist being that you can have something
invoked just after the render of any component in the system.

http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/module/tapestry.render.html

On 3/30/07, Dan Adams <da...@ifactory.com> wrote:
> Is there a good way to tell if a component has rendered or not?
>
> --
> Dan Adams
> Senior Software Engineer
> Interactive Factory
> 617.235.5857
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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