The wicket.markup.html.list.PageableListView isquite handy.
but why are these two methods not included
boolean isLastPage()
boolean isFirstPage()
Wont thishasten visibility decision of the Next | Previous Button in a Paged Listing?
why would it the PageableListView have to know that?The navigator n eeds to know that and that one just compared: list.getCurrentPage() == my ownpage.johanOn 2/16/06,
Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
The wicket.markup.html.list.PageableListView isquite handy.
but why are these two
actually just lazy..;) anyway it went well with the existing API
On 2/16/06, Johan Compagner [EMAIL PROTECTED] wrote:
why would it the PageableListView have to know that?The navigator n eeds to know that and that one just compared:
list.getCurrentPage() == my ownpage.johan
On 2/16/06, Ayodeji
Hi,
I'm look at PageableListView and I only see a mention of rows. I'm
looking to display a certain number of rows and columns ... so where are
the columns in PageableListView?
It isn't clear without some sort of visual component reference document
what each component layout might look
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Thursday, August 11, 2005 9:49 PM
To: [EMAIL PROTECTED]
Subject: [Wicket-user] PageableListView
Hi,
I'm look at PageableListView and I only see a mention
of rows. I'm looking to display a certain number
yes. i agree.
Dzenan Ridjanovic wrote:
...
I don't see it as a direct replacement of ListView, but maybe
pagablelist. (List that are really used to display data/object from db)
johan
PageableListView may be used to list data in pages that do not come
from db (e.g., main memory
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.
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
Yes, we could do that additionally. Personally, I like overriding
methods though, as I do a lot things the 'pull' way. E.g. I would
override the method and get the property e.g. from a page variable, and
never have to worry about it again. But it is a matter of taste I guess,
so I propose to
Hi,
I'm using a PageableListView to display results of database query.
There seems to be a problem with navigators 'last' link when
amount of data in the vector being displayed changes.
In my case, the listview's model is empty when it is created.
It is filled when user pressed 'find' button.
ok this goes only wrong when the last should get bigger i guess?
Because if it gets lower then the setCurrentPage will handle that if i
am not mistaken
But you are right last should recalculated when pressed but gettting the
page count then.
Can you open a bug report?
Ari Suutari wrote:
Hi,
ok this goes only wrong when the last should get bigger i guess?
Because if it gets lower then the setCurrentPage will handle that if i
am not mistaken
But you are right last should recalculated when pressed but gettting the
page count then.
Can you open a bug report?
Done, request
12 matches
Mail list logo