First iteration is commited to trunk. This is the commitlog:
WIP: Ajax redirect handling using http headers.
- Ajax requests is now identified using a Wicket-Ajax header. This can be used even if the session is expired, to create a proper redirect to the expired page.
- When redirecting we use a different header than Location. We use Ajax-Location, which is then parsed on the client and a redirect is made using window.location.
- All setResponsePage handling is now a redirect if it's an ajax request.
- WebResponse knows about the WebRequest.
- RequestCycle.getRedirect is no longer final, cause we need to override it in WebRequestCycle.getRedirect (which is then final).
- Tested in IE6, FF1.5, Opera9
TODO:
- Test
- Safari, Konqueror, IE5, etc.
- Test
- Backport
- Test
- Whatever I have forgotten.
Frank Bille
------------------------------------------------------------------------- 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