0

How do I not lose stored data of selected items in a pageable list view with checkbox when I change the page. please view my earlier post for code.

Visit page: checkbox in pageablelistview in wicket

Community
  • 1
  • 1
UKK
  • 167
  • 1
  • 13

1 Answers1

1

You can either:

  • store the data using Ajax the moment the checkboxes are set/unset.
  • try to prevent the user from leaving the page by javascript. See here
Community
  • 1
  • 1
Rob Audenaerde
  • 19,195
  • 10
  • 76
  • 121
  • 1
    The first option seems to be more valid. I guess he wants to check multiple items and still be able to paginate through them. A less "overhead" method to achieve this would obviously be to only submit the form when the paging is triggered (so somewhere in ``CustomPagingNavigator`` - simple boolean option if paging should submit the form might be okay for his case) – Thorsten Wendelmuth May 11 '15 at 18:35