I finally figured it out ! If someone needs to submit a list of items in a form this is how I did it.
First I created a ListView (check list markup in my previous posts). I keep ListView list items in private List object, so accessing them is easy when form is submitted. I implemented getInput() method that iterated my list items and builds a string of all the items in a list. I decided to just put the ID values of selected items to a string, separated by comma. After that I implemented a converter that converts this string back into list of items. After that i implemented a validator to check if my list items are valid. Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-form-component-returning-Invalid-Type-error-tp2318325p2318694.html Sent from the Wicket - User 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