Once for the rewind, the second time for the render.
If (event.getRequestCycle().isRewinding())
System.out.println("rewinding");
Else
System.out.println("rendering");
--- Pat
> -----Original Message-----
> From: linuja [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 20, 2005 10:05 PM
> To: Tapestry users
> Subject: Why pageBeginRender() is called twice?
>
> when a page that implment PageBeginRenderListener Interface, and in the
> pageBeginRender() method:
>
> public void pageBeginRender(PageEvent event) {
> System.out.println("here");
> }
>
> and the "here" will print twice. why?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]