You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/09/07 22:29:31 UTC
[jira] Resolved: (WICKET-923) Back button browser problem and ajax
[ https://issues.apache.org/jira/browse/WICKET-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matej Knopp resolved WICKET-923.
--------------------------------
Resolution: Invalid
Sorry, there is nothing we can do about this. Firefox caches the initial DOM of previous page, which is then not in sync with actual server state. Only solution/workaround for this is to force Firefox to reload page on back button, using the Cache-Control: no-store flag, e.g. in your base page
@Override
protected void configureResponse() {
super.configureResponse();
final WebResponse response = getWebRequestCycle().getWebResponse();
response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store");
}
> Back button browser problem and ajax
> ------------------------------------
>
> Key: WICKET-923
> URL: https://issues.apache.org/jira/browse/WICKET-923
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.0-beta3
> Environment: gnome on gentoo linux / windows xp, Firefox 2.0.0.6
> Reporter: Stanislav Dvorscak
> Assignee: Matej Knopp
> Fix For: 1.3.0-beta4
>
> Attachments: bug.tar.gz
>
>
> - I have problem with the Firefox browser. I attach a example. When you click on link "select", than on link "1" and then click on back button of Firefox browser, and than on link "select ", than I have exception. Please see exception below. This problem is only on the Firefox browser. I have no problem with this on the Internet explorer.
> WicketMessage: component homePanel:linksTable:rows:3:cells:2:cell:ajaxLink not found on page wicket.HomePage[id = 0], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
> Root cause:
> org.apache.wicket.WicketRuntimeException: component homePanel:linksTable:rows:3:cells:2:cell:ajaxLink not found on page wicket.HomePage[id = 0], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
> at org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:394)
> at org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:440)
> at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1091)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1177)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:500)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:261)
> at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:127)
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:295)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
> at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
> at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.