We have a section written by another developer who is gone that I am
attempting to modify.  It was a ListView where items are added via a plus
button, and all items are editable.  A new requirement came down to modify
some text in the fields on save.  

I modified the fields as we saved, then add the container to the target and
made the Listview a RefreshingView.  This gets the behavior I want, but now
our validation messages near the boxes no longer show (the message at the
top saying there ARE error does still show, so the validators are running,
just not showing).  Also, when I modify a box for update, and then hit our
plus button to add a row, the updates revert back to their last saved state.

I double checked, the ListView variant of the page did not have these
issues.  Looking at a beyond compare of the changes, I feel like the change
from listView to RefreshingView was far and away the most significant
change, and that is where I am focusing for now.  I notice his ListView had
setReuseItems(true).  I tried setting the
RefreshingView.setItemReuseStrategy to both the reuse and default strategies
and neither made a difference.

Can anyone give me a pointer?  Does this symptom make you suspect a
particular mistake I might have made?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Refreshingview-vs-ListView-tp4675224.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to