curPageBox.setText((event.getNewPage() + 1) + "");
loadingImage.setVisible(true);
errorLabel.setHTML("");
}
});
table.addPagingFailureHandler(new PagingFailureHandler() {
public void onPagingFailure(PagingFailureEvent event) {
loadingImage.setVisible(false);
errorLabel.setHTML(event.getException().getMessage());
}
});