You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Flavius (JIRA)" <ji...@apache.org> on 2011/01/10 04:26:49 UTC

[jira] Created: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

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


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.


[jira] Updated: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

Posted by "Pedro Santos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Santos updated WICKET-3318:
---------------------------------

    Attachment: WICKET-3318.patch

After lazy initialize the component, the AjaxLazyLoadPanel behavior mark itself as disabled and do not respond to further requests, even if they are targeting the behavior. IMO those BehaviorRequestTarget should be responded in order to respect back button.
Sending the patch plus test case coverage

> 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.


[jira] Commented: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995430#comment-12995430 ] 

Hudson commented on WICKET-3318:
--------------------------------

Integrated in Apache Wicket 1.4.x #443 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/443/])
    

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.16, 1.5-RC2
>
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

Posted by "Flavius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavius updated WICKET-3318:
----------------------------

    Attachment: AjaxLazyLoadPanel.zip

QuickStart to demonstrate the problem.  Read the ReadMe_1st.

> 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
>
>
> 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.


[jira] Resolved: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3318.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC2
                   1.4.16
         Assignee: Igor Vaynberg

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.16, 1.5-RC2
>
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WICKET-3318) AjaxLazyLoadPanel doesn't render correctly after form submit

Posted by "Pedro Santos (JIRA)" <ji...@apache.org>.
    [ 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.