Good point... that doesn't seem te be possible. The easiest fix would be to remove final from getPageCount() so you can override that method to get the current page count e.g. from another model. I would also add a constructor without a rowsPerPage parameter, that - if used - would default to 10.

Agreed?

Eelco

Ari Suutari wrote:

Hi,

Is there a way to alter number of rows displayed per page
after the listview has been created ? I was going to build a page
with pageable listview and a combo box with different
rowsPerPage values, which would allow user to adjust the view
size.

But there is no setRowsPerPage method.


   Ari S.



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to