You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by phillip rhodes <rh...@yahoo.com> on 2005/05/27 21:44:52 UTC
pageBeginRender not called on components?
In my component, I implement interface
PageRenderListener
However, it appears this only works on pages. Can
someone explain this?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: pageBeginRender not called on components?
Posted by Alberto Lepe <al...@gmail.com>.
Because BaseComponents inherited from AbstractComponent:
http://jakarta.apache.org/tapestry/doc/api/org/apache/tapestry/AbstractComponent.html
And BasePage inherited from AbstractPage:
http://jakarta.apache.org/tapestry/doc/api/org/apache/tapestry/AbstractPage.html
but also includes AbstractComponent's methods.
Please visit: www.tapestryforums.com and Join Us!
2005/5/27, phillip rhodes <rh...@yahoo.com>:
> In my component, I implement interface
> PageRenderListener
>
> However, it appears this only works on pages. Can
> someone explain this?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: pageBeginRender not called on components?
Posted by Robert Zeigler <ro...@scazdl.org>.
It is called on components, as well.
But it's called when the page begins to render, not when the component
begins to render.
Also note that if you a complex block/renderBlock setup, where
the blocks to be rendered are not in the page doing the rendering,
then the block and all components contained therein will /not/ have
pageBeginRender called.
Robert
phillip rhodes wrote:
> In my component, I implement interface
> PageRenderListener
>
> However, it appears this only works on pages. Can
> someone explain this?
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org