You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nelson Segura (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/04/12 22:39:20 UTC
[jira] [Issue Comment Edited] (WICKET-4286) ListView causes page ID
increment
[ https://issues.apache.org/jira/browse/WICKET-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252805#comment-13252805 ]
Nelson Segura edited comment on WICKET-4286 at 4/12/12 8:38 PM:
----------------------------------------------------------------
Attached QuickStart.
Access URL is https://localhost:8443/test/ajaxtest
- click on the buttons several times
- refresh page: the counters should now reflect the clicks
- click on the buttons more times
- refresh page: the counters do not reflect click after first refresh
was (Author: nsegura3):
Attached QuickStart.
Access URL is https://localhost:8443/test/ajaxtest
- click on the buttons several times
- refresh page: the counters should now refresh the clicks
- click on the buttons more times
- refresh page: the counters do not reflect click after first refresh
> ListView causes page ID increment
> ---------------------------------
>
> Key: WICKET-4286
> URL: https://issues.apache.org/jira/browse/WICKET-4286
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.3
> Environment: any
> Reporter: Mark Lichtenberg
> Assignee: Igor Vaynberg
> Attachments: ajaxtest1.5.3.tar.gz, ajaxupdate.zip
>
>
> A ListView with setReuseItems(false) causes the page ID to increment when the page is reloaded or the back button is pressed. This new ID is not reflected in the URL so Ajax actions against the new ID are lost when navigating away and back again.
> Steps to reproduce in quickstart
> 1) Load quickstart project in browser
> 2) Click "Link to Other" then click browser's back button.
> 3) Notice the log statement indicates the HomePage ID is 2, yet the URL remains at ID 0
> 4) Click "Ajax Increment Link" a few times
> 5) Click "Link to Other" then click browser's back button
> 6) Notice the counter is at zero, and subsequent clicks to the "Ajax Increment Link" start from zero. The current page ID output in the log is 4.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira