We currently use Wicket 1.5.7 with form based container managed security. When a session timeout occurs, the user is redirected to the login page and after logging in again, he will continue doing whatever he was doing. However, when the user clicks an Ajax submit link, the response of the Ajax call will be the HTML of the login page and thus results in an error. The annoying part is that when you run in production mode, the user does notice anything went wrong.
The error msg: INFO: Using XMLHttpRequest transport INFO: INFO: Initiating Ajax POST request on ./ServiceRequests?7-2.IBehaviorListener.1-casePart-buildingBlockGroups-group-form-actions-0-action&random=0.06261350758649298 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (8583 characters) INFO: <!DOCTYPE html> <html> <head> .... some html here </html> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element Does anyone knows a fix or workaround for this? Elger