Hello, this is the implementation of the DataProvider:
@Override public Iterator<UserRecord> iterator(long l, long l2) { if (userList != null){ Collections.sort(userList,comparator); }else{ System.out.println("User-List ist leer!"); } return userList.iterator(); } What should have been changed? Can you explain me what these 2 parameters should do? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -----Ursprüngliche Nachricht----- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Freitag, 26. April 2013 13:22 An: users@wicket.apache.org Betreff: Re: DefaultDataTable with NavigationToolbar Hi, The problem seems to be in your implementation of org.apache.wicket.markup.repeater.data.IDataProvider#iterator(long first, long count) On Fri, Apr 26, 2013 at 1:10 PM, <christoph.ma...@t-systems.com> wrote: > Hello, > > I'm using a DefaultDataTable with a NavigationToolbar. I want to show > on every TablePage 10 rows. Now when I have more than 10 rows (e.g > 11) the navigationtoolbar appears and I can switch on the 2nd page to > see the 11th row. But on the 2nd page the Table shows again the first > row and not the 11th. > > Can you help me please? > > > Mit freundlichen Grüßen > Christoph Manig > Systems Engineer > > T-Systems International GmbH > Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer > Str. 18 > 01099 Dresden > tel.: +49 (0) 351 / 8152 - 188 > fax: +49 (0) 351 / 8152 - 209 > email: christoph.ma...@t-systems.com > > > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org