what we could do is defining the setRowsPerPage in the IRangePageable..
Then a RangePageNavigator can push these things to the IRangePageable....

johan



Johan Compagner wrote:
no then pagenavigator has to push things and knows that some other object uses rows per page.
That was not the idea.
The navigator just cycles through pages.
What a IPageable shows you is up to the IPageable. Could be that it only can show you one item (read row) at the time.

Don't think only in listview or other table component.

A form can also implement IPageable. But what a form does on next page is just displaying the next record of a set/list of records it has.

johan


Igor Vaynberg wrote:
So if ListView is pageable you get something like this:

ListView lv = new ListView();
lv.setRowsPerPage(30)
PageNavigator pn = new PageNavigator(lv);

or PageNavigator pn=new PageNavigator(ipageable, rowsperpage, startpage)

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



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



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

Reply via email to