I guess this is because in 1.2 pagemap behaves like stack. Johan?

-Matej

Ari Suutari wrote:
Hi,

I'm having a problem with wicket's ajax stuff where an ajax request
fired by previous page hits the web server after user has clicked a link
which has already transferred him to next page.

This might be a problem in my application, but I'm seeking for ideas
to solve this.

From web server's access log:

First there are some normal ajax requests arriving from browser:

192.168.5.102 - - [22/May/2006:07:46:43 +0000] "GET /wicket?wicket:interface=:0:uiPanel:viewPanel:normalView:panels:0:panel:listTableSpan:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&random=0.35930677427195573 HTTP/1.1" 200 824 192.168.5.102 - - [22/May/2006:07:46:43 +0000] "GET /wicket?wicket:interface=:0:uiPanel:viewPanel:normalView:panels:0:panel:listTableSpan:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&random=0.11935459751117722 HTTP/1.1" 200 824

Here, user clicks a link which transfers application to help page, it is displayed ok.

192.168.5.102 - - [22/May/2006:07:46:43 +0000] "GET /wicket?wicket:interface=:0:uiPanel:topPanel:showHelp:34:ILinkListener HTTP/1.1" 302 - 192.168.5.102 - - [22/May/2006:07:46:43 +0000] "GET /wicket?wicket:interface=:34:: HTTP/1.1" 200 3191

Now, for some reason a ajax request arrives from previous page, which causes to pagemap stack to be
popped so the page user's browser is on is removed from page map.

192.168.5.102 - - [22/May/2006:07:46:43 +0000] "GET /wicket?wicket:interface=:0:uiPanel:viewPanel:normalView:panels:0:panel:listTableSpan:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&random=0.2873453536331084 HTTP/1.1" 200 824

Now, user presses a link on the page but gets 'page expired' message, because the page
is no longer in pagemap.

192.168.5.102 - - [22/May/2006:07:46:44 +0000] "GET /wicket?wicket:interface=:34:back::ILinkListener HTTP/1.1" 404 651

Any ideas what I could do to fix this ? The ajax requests are fired asynchronously by a system which is very
similar to AjaxSelfUpdatingTimerBehaviour stuff.

   Ari S.



-------------------------------------------------------
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-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
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-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to