You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ken nashua <nh...@hotmail.com> on 2007/02/02 19:58:18 UTC

rewind cycle question...

Hi Folks,

According to this docs... (see ques below...)

Events will trigger in the following order:
    initialize()
    pageBeginRender() ("rewind")
    rewind of the form / setting of properties
    Deferred listeners (for Submit components)
    Form's listener
    pageEndRender() ("rewind")
    pageBeginRender() (normal)
    pageEndRender() (normal)
The form "rewind" cycle is nothing more than a render cycle where the output 
is buffered and scrapped rather than written to the servlet output stream. 
The second pageBeginRender() is triggered during the actual page rendering. 
You can use requestCycle.isRewinding() to distinguish between these two 
render cycles.

QUESTION:
If I set a breakpoint on the pageBeginRender() of my java class... can I 
assume it has finished with the first pass and at the second pass? Or will I 
see two breakpoints be hit for first pass and second pass...? Or will I only 
get one breakpoint for the first pass.

I am trying to determine which pass actually gets hit on breakpoint.

Any clarification is appreciated.
Best regards
Ken in nashua

_________________________________________________________________
FREE online classifieds from Windows Live Expo – buy and sell with people 
you know 
http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06


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