On 7/29/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Once again, this has become a philosophical discussion. > I say tomato you say tomato. > > This is going to live as a contrib package so it wont distrub anything, > people who prefer this style will use it. > > Besides you can do > > final List mylist; > new DataProvider() { > public int itemCount() { return mylist.size(); } > public Iterator iterator(int first, int count) { return > mylist.listIterator(first); } > public IModel model(Object o) { return new Model(o); } > } > > And you have a list.
Does DataProvider implement java.util.List? Because unless it does, I don't have a List. ;) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user