List of usage examples for org.apache.wicket.markup.html.navigation.paging IPageableItems setItemsPerPage
void setItemsPerPage(long itemsPerPage);
From source file:com.schat.components.paging.bootstrap.BootstrapPagingNavigator.java
License:Apache License
public BootstrapPagingNavigator(String id, IPageableItems pageable, PagerConfigurator configurator) { super(id, pageable); initPageSizeChoice(pageable, configurator); if (configurator == null) { throw new IllegalArgumentException("Null coinfigurator"); }//ww w .j a v a2 s. c om pageable.setItemsPerPage(configurator.getInitialItemsPerPage()); }