You can use PagingNavigation to page trough everything in the DB: http://www.wicketstuff.org/wicket13/repeater/;jsessionid=1A8942B5B6C08E39348C4E8923DB32CB?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.PagingPage
That way you don't get everything from the database all the time. Grtz, M On Fri, May 16, 2008 at 3:27 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Thanks! > > I used this but I don't think it is any faster.... > > class ItemProvider implements IDataProvider{ > private static final long serialVersionUID = 1L; > > public Iterator iterator(int first, int count) { > return getItemDao().getItems(getFilters(), first, count > ).iterator(); > } > > public int size() { > return getItemDao().getItemCount( getFilters()); > } > > public IModel model(Object object) { > return new Model((Item) object); > } > > public void detach() { > // TODO Auto-generated method stub > > } > } > -- > View this message in context: > http://www.nabble.com/PagingNavigator-faster-paging-tp17272873p17274697.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] > >