I went back from the ListView to a RefreshingView, wrote a little Model to
implement equals() on top of a CPM and added a
ReuseIfModelsEqualStrategy to the RefreshingView (called adressblock) :

adressblock.setItemReuseStrategy(new ReuseIfModelsEqualStrategy());

I don't see an issue with old items, so it is reusing the items in the view.

But my original problem remains: the data from the form is lost after
i add a new
item to the list..

in the onClick() AjaxHandler i call

adressableModel.getObject().getAdressen().add(new Adresse(id));

and add the WMC conaining the RefreshingView to the ajax target.


any ideas what i do wrong here?

Bert

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to