Hi,
I have a question concerning the serialization of subcomponents of ListView.
If I understand correctly, then the components that are added to a ListView in
the populateItem method should be stateless, since they are removed in the
onPopulate method each time the list view is rendered (as lo
Hi Sven,
you wrote:
> there's no requirement for components inside ListView to be stateless -
> I wonder were you got that from.
I got that from the ListView class comment and from studying the code.
The comment says:
"By default, setReuseItems is false, which has the effect that ListView
repla
Hi Sven,
Am Freitag, 26. März 2010 schrieb Sven Meier:
> >the only difference in my proposal is to call removeAll earlier:
> >not in onBeforeRender of the next request cycle, but in onDetach of
> >the current request cycle.
>
> it makes a huge difference:
> If you call removeAll in onDetach, t