You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kris Rasmussen <kr...@yahoo.com> on 2003/10/24 05:29:43 UTC

pageBeginRender called too many times

In my application, pagebeginrender often gets called many times after displaying a page, clicking an action link, submitting a form, etc. I think it gets called three times. Why is  this?
 
Thanks,
Kris


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Re: pageBeginRender called too many times

Posted by Harish Krishnaswamy <hk...@comcast.net>.
It will actually be called twice for each request cycle, once during 
rewind and once during render. If it takes more than one request cycle 
to render a page, you will obviously see it being called 2*n times. If 
you do not already know, you can distinguish the rewind phase from 
render by calling cycle.isRewinding().

-Harish

Kris Rasmussen wrote:

>In my application, pagebeginrender often gets called many times after displaying a page, clicking an action link, submitting a form, etc. I think it gets called three times. Why is  this?
> 
>Thanks,
>Kris
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>  
>


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