Re: Size of ListView

2010-07-26 Thread Vincent Lussenburg
Hi Igor, Excellent suggestion! It took some experimenting, but we managed to get it to work. add(new PropertyListViewMonthAmount(month, new XListViewModel(x)) { { setReuseItems(false); setVersioned(false); } @Override

Re: Size of ListView

2010-07-26 Thread Igor Vaynberg
no, this will not work for the larger usecase. like i mentioned before, if you place links or textfields or anything but labels into listitems they will not work. -igor On Mon, Jul 26, 2010 at 3:41 AM, Vincent Lussenburg vincent.lussenb...@gmail.com wrote: Hi Igor, Excellent suggestion! It

Re: Size of ListView

2010-07-26 Thread Igor Vaynberg
no, this will not work for the larger usecase. like i mentioned before, if you place links or textfields or anything but labels into listitems they will not work. -igor On Mon, Jul 26, 2010 at 3:41 AM, Vincent Lussenburg vincent.lussenb...@gmail.com wrote: Hi Igor, Excellent suggestion! It

Re: Size of ListView

2010-07-26 Thread Vincent Lussenburg
I suppose so.. Well, at least it's a loophole for big chucks of readonly data. Thanks for your replies! Groet, Vincent On Jul 26, 2010, at 17:22, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, this will not work for the larger usecase. like i mentioned before, if you place links or

Re: Size of ListView

2010-07-22 Thread Danny van Bruggen
No, we can't change the component tree in onAfterRender - Wicket complains that it cannot increase the page version after rendering. On 7/21/10, Vincent Lussenburg vincent.lussenb...@gmail.com wrote: I remember trying that, but getting slapped by wicket for trying to change the component tree

Re: Size of ListView

2010-07-22 Thread Igor Vaynberg
what about onDetach() ? -igor On Thu, Jul 22, 2010 at 6:17 AM, Danny van Bruggen tsuih...@gmail.com wrote: No, we can't change the component tree in onAfterRender - Wicket complains that it cannot increase the page version after rendering. On 7/21/10, Vincent Lussenburg

Size of ListView

2010-07-21 Thread Danny van Bruggen
Hello all, We're developing a non-Ajax application that displays a bunch of big tables - about five columns, 300 rows. Since session size was increasing a lot, we looked into the cause of it, and (after making everything detachable and switching to PropertyListModel) found out that the ListItems

Re: Size of ListView

2010-07-21 Thread Igor Vaynberg
if the data is strictly read-only and does not contain any links you can try removing the list items in afterrender() -igor On Wed, Jul 21, 2010 at 7:50 AM, Danny van Bruggen tsuih...@gmail.com wrote: Hello all, We're developing a non-Ajax application that displays a bunch of big tables -

Re: Size of ListView

2010-07-21 Thread Vincent Lussenburg
I remember trying that, but getting slapped by wicket for trying to change the component tree after rendering.. Or am I missing something? We'll doublecheck it tomorrow. Groet, Vincent On Jul 21, 2010, at 18:37, Igor Vaynberg igor.vaynb...@gmail.com wrote: if the data is strictly read-only