THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This is by Facebook's design and - the redirect issued by Wicket after the form post is simply discarded and the browser is never made aware of it. Access log looks like this:
No Format |
---|
"POST /appcontext/somepage?wicket:interface=:0:somepanel:someform::IFormSubmitListener:: HTTP/1.1" 200
|
Solution explained
Facebook provides a custom tag to accomplish a redirect within the Facebook canvas - Fb:redirect (http://wiki.developers.facebook.com/index.php/Fb:redirect).
...
Code Block |
---|
@Override protected WebResponse newWebResponse(HttpServletResponse servletResponse) { return new FBWebResponse(servletResponse); } |
You should be set!
A big thank you goes to jwcarman on ##wicket for helpful pointers.