Re: Issue while adding Custom Validator to ListMultipleChoice component

2012-12-28 Thread Sven Meier
Hi, >This is getting empty when it is loaded with default values. You mean you have values in your model but they don't show up on a re-submit? Please take a look at ListMultipleChoicePage in wicket-examples. If I add a validator there, everything works as expected: listChoice.add(

Re: Issue while adding Custom Validator to ListMultipleChoice component

2012-12-28 Thread Sven Meier
The generic type of your validator should be: public class SelectedAttributesValidator implements IValidator> Sven On 12/28/2012 09:41 AM, wicket_new_user wrote: Hi, is it possible to add Custom Validator (implenting IValidator) for ListMultipleChoice component? when i'm trying to add val