* org.apache.wicket.markup.html.navigation.paging.IPagingLabelProvider)
*/
protected PagingNavigation newNavigation(IPageable pageable,
IPagingLabelProvider labelProvider)
{
PagingNavigation nav = new PagingNavigation("navigation", pageable);
nav.setMargin(2);
if (nav.getViewSize() > 5)
{
nav.setViewSize(5);
}
nav.setSeparator(", ");
return nav;
}
});
}