the only assumption made is that it is cheaper to retrieve a (total
count+window) rather then (the entire dataset), which holds true almost
always. some exceptions being an in-memory database.
Or if the window size is sort of the total count, which i guess is also
quite common..
Not all list in a webapplication are big. There are many small onces
And then doing an extra count
But i thought we test now on IDetachable? So we can implement detach()?
i see a todo in IDataprovider: extend directy IDetachable something for 1.3also?
Because if you have te detach() then you can do one load method that does
the job for size() and iterator()
If you know the list is pretty small.. Then you don't have to do 2 queries.
johan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user