Hi,
Recently converting an app from wicket 1.4.18 to wicket 1.5.2 and
am now seeing stack traces like the following:
org.apache.wicket.request.mapper.StalePageException
at
org.apache.wicket.request.handler.PageProvider.getStoredPage(PageProvider.java:302)
at
org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:257)
at
org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165)
I've tracked it down to a wicketAjaxGet request invoked on the client
that looks something like this:
var wcall = wicketAjaxGet(url + args, function() { }, function() { });
url looks something like: "'myBuildings?52-1.IBehaviorListener.2-' which
I create from AbstractDefaultAjaxBehavior.getCallbackUrl().toString()
It seems the problem has to do with page versioning not matching the
page on the server.
Is there a workaround or another way to code this up? Let me know if I
can provide any additional information.
Thanks, Jason