Ok, whatever.
Martijn Dashorst wrote:
You already have to extend ListView, so getPageCount() could be
overridden
However, I think most people are more used to setXXX than to override
things for changing a parameter. It is not that the paging behaviour
/really/ changes.
I am +1 for adding the setter, instead of allowing getPageCount() to
be overridden.
How does this affect backbutton support? When allowing overriding, you
are making users responsible for administering changes in this
parameter (when applicable).
Martijn
Juergen Donnerstag wrote:
why not implement PageableListView.setRowsPerPage(int) ??
Juergen
On 6/2/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
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
-------------------------------------------------------
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=fad-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
-------------------------------------------------------
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