Hi there, I'm struggling with this half a day already and don't know how to fix. I have some Facebook javascript SDK calls on a page to get current user's facebook id. This calls are of course asynchronous and on completion they call my wicket callbacks automatically to process the data. Beside that I have a BookmarkablePageLink on the page targeting the home page (logo that takes you always home).
The problem is following. If I am on the home page and click the Bookmarkable link before the ajax calls are finished the home page is refreshed with new page id but the ajax calls returnes following response: <ajax-response><redirect>../en/?wicket:bookmarkablePage=:org.apache.wicket.markup.html.pages.PageExpiredErrorPage</redirect></ajax-response> What results in redirect to PageExpired page. The URL for ajax calls looks like this: https://localhost:8443/my-app/en/?wicket:interface=:31:authPanel:notLoggedLoginPanel:signInContainer:signInPanel:communityLoginContainer:communityLoginItems:0:communityLoginItem::IActivePageBehaviorListener:1:1&wicket:ignoreIfNotActive=true&fbid=xxx&fbsessid=xxx&fbaccesstoken=xxx&random=0.9877056940825386 Does anyone know what's wrong and what could I do about it? Any help would be appreciated. Thanks, Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Automatic-Ajax-after-page-load-and-redirect-to-PageExpiredErrorPage-tp3220405p3220405.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
