Jep, I sorta thought that it wouldnt make sense for it to call removeAll...
regards Nino
Eelco Hillenius wrote:
I have a listview in a panel. I have a ajax link to add items to the
list. When I click the link the listview are repainted, because I have
it in the markupcontainer just as it should. In the listview there are
some textfields, these are cleared when the markupcontainer are
repainted, I dont understand why?
I have set the setReuseItems(true). And have tried to call the
removeAll() method on the listview.
If you call removeAll, the list view will populate itself freshly
again, so your previous input won't be remembered. Either make sure
the models that back the items are updated, or follow another
strategy, such as using a refreshing view with
ReuseIfModelsEqualStrategy.
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]