Initial situation: Paging done without Ajax
Say you have a page with a PagingNavigator and a DataView.
Now you want to do the paging be done via Ajax. But simply replacing the PagingNavigator with a AjaxPagingNavigator won't do it - the Page will be updated, but the DataView won't. To accomplish this, you need to do the following:
- surround the PagingNavigation and the DataView with a WebMarkupContainer
- tell the AjaxPagingNavigator to update the WebMarkupContainer
- update your HTML to match the new component hierarchy
From a posting of Igor to the wicket-user list