Can someone please take a look at this. I would like to have this merged into head in some form before I check in wicket-contrib-dataview into wicket-stuff as I have examples that are using this.
One minor change to patch... Rename gettotalitemcount to getitemcount in ipageablecomponent Thanks, Igor > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of SourceForge.net > Sent: Tuesday, July 26, 2005 2:57 PM > To: [EMAIL PROTECTED] > Subject: [Wicket-develop] [ wicket-Feature Requests-1245561 ] > introduce IPageable > > Feature Requests item #1245561, was opened at 2005-07-26 > 21:56 Message generated for change (Tracker Item Submitted) > made by Item Submitter You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1 > 245561&group_id=119783 > > Please note that this message will contain a full copy of the > comment thread, including the initial issue submission, for > this request, not just the latest update. > Category: None > Group: 1.1 > Status: Open > Priority: 5 > Submitted By: Igor (ivaynberg) > Assigned to: Nobody/Anonymous (nobody) > Summary: introduce IPageable > > Initial Comment: > Currently classes that are used to create navigation for > PageableListView are tightly coupled with PageableListView. I > think an introduction of IPageable to decouple them would be > a nice addition. > Specifically, it will allow other components implementing > IPageable to be navigated using the same classes. > > >From a quick glimpse of code i think this should be > sufficient: > > public interface IPageable > { > int getCurrentPage(); > void setCurrentPage(int index); > int getPageCount(); > int getTotalItemCount(); > > Page getPage(); > } > > > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1 > 245561&group_id=119783 > > > ------------------------------------------------------- > 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > ------------------------------------------------------- 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_id=7477&alloc_id=16492&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
