public void onClick(AjaxRequestTarget target) {
IPageableComponent<E> component = findPageableComponent();
component.goToPage(number-1);
target.addComponent(component.getUpdatableComponent());
if(component instanceof IPageableNavigationListener) {
IPageableNavigationListener listener = (IPageableNavigationListener)component;
listener.onGoToPage(target, number-1);
}
}