If you are talking about form submission, where there is a rewind
phase, then I do recall being able to check whether the cycle was
rewinding... like cycle.isRewinding()... It's been a while....

On Fri, Mar 23, 2012 at 7:43 AM, Sascha Schaefer
<sascha.schae...@ebcsoft.de> wrote:
> Hello,
>
> maybe you can help us with the following problem.
> We are using Tapestry 4.0.2 for our web application where each of the web 
> pages overrides the 
> org.apache.tapestry.event.PageValidateListener#pageValidate(org.apache.tapestry.event.PageEvent)
>  method to load necessary data from the database and prepares that data to be 
> displayed. We noticed that this method is always called twice (because of 2 
> rendering cycles) which is not really necessary but uses a lot of extra time 
> and resources until the page is finally displayed to the user.
>
> Can you give any advice here what to do about it?
> Thanks a lot for help!
> Sascha Schäfer



-- 
Jonathan Barker
ITStrategic

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

Reply via email to