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 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 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 - 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 of each ListView still accounted for about 100k.
>>>
>>> Since all the data in the tables is read only, we're wondering if we
>>> can skip serializing the ListItems. Is this possible?
>>>
>>> Is there another approach?
>>>
>>> Danny van Bruggen
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to