[Wicket-user] PageableListView

2006-02-16 Thread Ayodeji Aladejebi
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?

Re: [Wicket-user] PageableListView

2006-02-16 Thread Johan Compagner
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

Re: [Wicket-user] PageableListView

2006-02-16 Thread Ayodeji Aladejebi
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

[Wicket-user] PageableListView

2005-08-11 Thread Gili
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

RE: [Wicket-user] PageableListView

2005-08-11 Thread Igor Vaynberg
- 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

Re: [Wicket-user] PageableListView

2005-07-31 Thread Jonathan Locke
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

[Wicket-user] PageableListView and changing rowsPerPage

2005-06-02 Thread Ari Suutari
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.

Re: [Wicket-user] PageableListView and changing rowsPerPage

2005-06-02 Thread Eelco Hillenius
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

Re: [Wicket-user] PageableListView and changing rowsPerPage

2005-06-02 Thread Eelco Hillenius
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

[Wicket-user] PageableListView and navigator

2005-05-27 Thread Ari Suutari
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.

Re: [Wicket-user] PageableListView and navigator

2005-05-27 Thread Johan Compagner
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:

Re: [Wicket-user] PageableListView and navigator

2005-05-27 Thread Ari Suutari
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