Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.3
-
None
-
any
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
WICKET-4360 Wicket reloading old page id on page refresh
- Resolved
- is related to
-
WICKET-4525 Behavior (which performs a form post) not executed the second time if the form contains a required field (which failed the first time).
- Closed