You cant add IValidator to a ListView because it is not a FormComponent. You
can:
1. check ListView.getList() within Form.onSubmit() and call form.error(...)
if list is empty
2. create a form validator based on AbstractFormValidator and add it to the
form component

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-ListView-tp3088381p3088394.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to