What happens if we are already in the response fase?
And the previous page is already rendered for 50% ?

For a redirect to buffer strategy it goes ok when we are in the WebRequestCycle.redirectTo() method
Because then that page was rendered in a separate buffer which was completely discarded.

Buf if we are in a bookmarkable request (or another render strategy)  which is rendered immediantly then we have 2 ways i gues:

1> buffered output: We have to reset the buffered output somehow completely.. (maybe the DefaultExceptionResponseStrategy should just set a new buffer)

2> not buffered output: I think we are out of luck.. but i guess this is also now the case.


I think we just need to build some test cases for buffered/none buffered and different redirect strategies if a page
in the middle of its rendering throws an error.

johan



On 8/13/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
im attaching a patch that implements [7]. there are no api breaks but the behavior is a bit different when it comes to errors obviously. could you guys please review and test. should we put this into 1.2.2 or save for 1.3?

-Igor


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to