[ 
https://issues.apache.org/jira/browse/WICKET-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979569#action_12979569
 ] 

Pedro Santos commented on WICKET-3318:
--------------------------------------

Another solution would be disable the page caching, the HomePage on quickstart 
can override the setHeaders for instance:

    @Override
    protected void setHeaders(WebResponse response) {
        response.setHeader("Pragma", "no-cache");
        response.setHeader("Cache-Control", "no-cache, no-store, max-age=0, 
must-revalidate");
    }

Doing so, when back button get pressed the cached page will not try to invoke 
an already invoked behavior. Instead a new page version will be created.

> AjaxLazyLoadPanel doesn't render correctly after form submit
> ------------------------------------------------------------
>
>                 Key: WICKET-3318
>                 URL: https://issues.apache.org/jira/browse/WICKET-3318
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.15
>         Environment: Windows
>            Reporter: Flavius
>         Attachments: AjaxLazyLoadPanel.zip, WICKET-3318.patch
>
>
> This occurs on a page with an AjaxLazyLoadPanel and a form.
> If the form is submitted and the back button is used, the initial
> page will not load the results of the AjaxLazyLoadPanel, but rather
> display the busy indicator indefinitely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to