historyDataViewContainer.add(historyDataView);
historyDataViewContainer.setOutputMarkupId(true);
add(historyDataViewContainer);
PastePagingNavigator pageNav = new PastePagingNavigator("pageNav", historyDataView) {
@Override
public boolean isVisible() {
return historyDataProvider.isVisible();
}
};
PastePagingNavigator pageNav2 = new PastePagingNavigator("pageNav2", historyDataView) {
@Override
public boolean isVisible() {
return historyDataProvider.isVisible();
}
};
pageNav.setDependentNavigator(pageNav2);
pageNav2.setDependentNavigator(pageNav);
add(pageNav);
add(pageNav2);
add(new Label("noPastesFound", "No Pastes Found") {
@Override