You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Scott F. Walter" <sc...@vivare.com> on 2005/07/14 17:01:22 UTC

TP4: markForDiscard?

In the old Tapestry 3 days if you wanted to discard a page in a listener 
method you needed to something like this:

getEngine().getPageRecorder(this.getPageName(), cycle).markForDiscard();

However in TP4 you no longer have access to getPageRecord() on IEngine() 
or IRequestCycle(). 

Is it even needed anymore?  I saw this on the Tapestry website
"the invocation of the listener is (by default) deferred until the end 
of the form submission, just before the Form's listener is invoked. In 
Tapestry 3.0, the invocation was immediate."


-- 

Scott F. Walter 	Scott F. Walter
Principal Consultant
Vivare, Inc.

E: scott.walter@vivare.com
E: scott@scottwalter.com
Visit scottwalter.com <http://scottwalter.com> --Point.  Click.  Explore!




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