That was Jonathan's idea. That's why Irange getPageRange() is in the
ipageable. It returns the first, and the last page being displayed, as well
as the total num of pages available.
Unless I misunderstood something...
-Igor
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Johan Compagner
> Sent: Wednesday, August 03, 2005 2:18 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] IPageable interface
> 
> Why would a component display 3 pages at a time?
> Pageable means that it pages (read displays) 1 page at one time.
> if you want to display 3 pages at the time just make youre 
> page bigger (if one page displays 10 rows then make it 30)
> 
> johan
> 
> 
> Igor Vaynberg wrote:
> > Maybe I didn't express what I wanted clearly.
> >
> > I think setCurrentPage(int) is fine if the component is 
> displaying a 
> > page at a time, but what does setCurrentPage(int) mean if the 
> > component is displaying 3 pages at a time? Is it setting the first 
> > page of 3? Or is it setting the last page of 3? Or the middle page?
> >
> > And what I meant was just having one of those methods in 
> ipageable not 
> > all 3, my question was which one do you guys think is more 
> appropriate...
> >
> > -Igor
> >
> >   
> >
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & 
> EXPO September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices Agile & Plan-Driven Development * 
> Managing Projects & Teams * Testing & QA Security * Process 
> Improvement & Measurement * http://www.sqe.com/bsce5sf 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to