Hi guys, would it be possible to change PagingNavigator's constructor from
public PagingNavigator(final String id, final IPageable pageable, final IPagingLabelProvider labelProvider) { super(id); // Get the navigation bar and add it to the hierarchy this.pagingNavigation = newNavigation(pageable, labelProvider); add(pagingNavigation); // Add additional page links add(newPagingNavigationLink("first", pageable, 0)); add(newPagingNavigationIncrementLink("prev", pageable, -1)); add(newPagingNavigationIncrementLink("next", pageable, 1)); add(newPagingNavigationLink("last", pageable, -1)); } /** to public PagingNavigator(final String id, final IPageable pageable, final IPagingLabelProvider labelProvider) { super(id); initNavigator(pageable, labelProvider); } protected initNavigator(pageable, provider) { this.pagingNavigation = newNavigation(pageable, labelProvider); add(pagingNavigation); .... } I'm asking because I subclassed PagingNavigator and I have additional constructor parameters I want to pass to the constructor "before" invoking "initNavigator". Thanks for your time! -- View this message in context: http://www.nabble.com/PagingNavigator-refactoring-request-tp14783646p14783646.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]