Thank you Igor. Does somebody have a short example of java code to check for wicket-Ajax header ? Or an example of what such a header looks like ? In the debug window, I can see wicket xml responses, bot no query...
Bernard in your servlet filter you will have to check for Wicket-Ajax header and if it is present return a properly formatted ajax-response that contains javascript to redirect to your login page. -igor On Tue, Dec 1, 2009 at 1:01 PM, Bernard Lupin <beal6...@yahoo.fr> wrote: > > And I'm using wicket version 1.4.3... > > > Bernard Lupin wrote: >> >> Hello, >> >> I also have a similar problem : when the session is over, debug shows me >> that all my Ajax links receive an html response with my login page, >> instead of an xml response, because I have a servlet filter for that. >> So wicket says in the wicket ajax debug window "ERROR: >> Wicket.Ajax.Call.failure: Error while parsing response: Could not find >> root <ajax-response> element", and for users nothing happens when >> clicking >> on AjaxLink's. >> >> Is it a way to solve this please ? >> Regards, >> Bernard >> >> -- View this message in context: http://old.nabble.com/Session-timeout---AJAX-enabled-controls-tp26422932p26611019.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org