Check out OrderedPageableList in wicket-stuff. It has those exact two
methods you mention, and abstract too. It's a great jumping off point.

On 7/22/05, Vjeran Marcinko <[EMAIL PROTECTED]> wrote:
> ----- Original Message -----
> From: "Martijn Dashorst" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, July 22, 2005 10:09 AM
> Subject: Re: [Wicket-user] Newbie confused about PageableListView
> 
> 
> > You can put two things into the ListView: a direct IList implementation,
> > or a IModel backed list. The latter is the preferred way in Wicket.
> >
> > The PageableList model is in the wicket-contrib-data package. You can
> > download it from the wicket-stuff project. There you can find
> > ISelectCountAndListAction, PageableList and PersistentObjectModel. These
> > are what you are looking for.
> >
> > Wicket doesn't impose any persistence framework onto anybody. That is why
> > we didn't put this in the core.
> 
> OK, thanx, though I don't understand how would introduction of some model
> interface such as for eg.:
> interface PageableModel {
> int getTotalCount();
> List getRows(int offset, int limit);
> }
> introduce dependency upon any persistence framework? It looks totaly
> non-intrusive to me...
> 
> -Vjeran
> 
> 
> 
> 
> -------------------------------------------------------
> 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-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to