Do all of your pages extend from a common base page of your own? In
the base page you could set a transient page property during rewind
indicating a rewind had occurred, then check that again during render.
Something like this:

public abstract boolean isFromRewind();
public abstract void setFromRewind(boolean val);

public void pageBeginRender()
{
 if (getRequestCycle().isRewinding())
 {
   setFromRewind(true);
 }
 else
 {
   if (isFromRewind())
   {
     // We got here from a rewind
   }
 }
}

HTH

Ben

On 7/24/07, talk.small <[EMAIL PROTECTED]> wrote:

I want to determine in pageBeginRender whether the current rendering of a
page is from a rewound page, any thoughs? Thanks.
--
View this message in context: 
http://www.nabble.com/Page-render-after-the-rewind-tf4136080.html#a11763349
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to