I'm running Wicket 6.3 and have an approval page where a user can approve
certain accounts that a user requests. The form on the page has several
ListViews that may or may not be visible. On each list view, the list item
has a radio button where the approver can set the approval to yes or no.

My problem is with the Feedback Panel. I'm setting the approval radio button
to required if the corresponding ListView is visible. That works. If I don't
select anything, the page doesn't do anything on submit as the form didn't
validate. This is correct. But the Feedback Panel doesn't show anything
either. It used to - under 1.5 I believe, I'm not quite sure when exactly it
stopped. I can implement onError(), but there I can only give a generic
error message like "Something didn't validate in the form". The session
feedback messages are empty.

After combing through the user forum, I found that
listView.setReuseItems(true) should solve the problem. I tried that, and
miraculously my feedback messages all show. But now I have the problem that
with the reuse my list view data is not behaving as it should. I have a lot
of Ajax interaction on each line, and as the ListView is reusing its stuff,
it doesn't work as intended anymore.

Long story short, is there any way to get my Feedback Panel working again
without listView.setReuseItems(true)?

Thanks,
Natalie



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-ListView-and-Feedback-Panel-tp4658029.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