PagingNavigator WICKET-1548 - customization question

2008-05-29 Thread Daniel Stoch
Hi, I've just made an upgrade to 1.3-SNAPSHOT. And now I have a problem with customizing PagingNavigator component, because of moving creation of components to onBeforeRender() method. In out navigator we want to hide (remove) some links (eg. first and last). So I have a constructor like this:

Re: PagingNavigator WICKET-1548 - customization question

2008-05-29 Thread Igor Vaynberg
class mypager extends pagingnavigator { newPagingNavigationLink(String id, IPageable pageable, int pageNumber) { Link l=super.newPagingNavigationLink(...); if (pageNumber1) { l.setvisible(false); } return l; } } -igor On Thu, May 29, 2008 at 5:49 AM, Daniel