ClassCastException in ListMultipleChoice

2009-09-22 Thread Sadhna Ahuja
Hello, I have a ListMultipleChoice component in my form and I get the following exception when I select an option and submit the form: Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection at

Re: ClassCastException in ListMultipleChoice

2009-09-22 Thread Igor Vaynberg
your model object should be a collection instead of a string because this component allows selection of multiple values. -igor On Tue, Sep 22, 2009 at 6:37 AM, Sadhna Ahuja sadhna.ah...@nisc.coop wrote: Hello, I have a ListMultipleChoice component in my form and I get the following

ClassCastException in ListMultipleChoice

2009-09-21 Thread Sadhna Ahuja
Hello, I have a ListMultipleChoice component in my form and I get the following exception when I select an option and submit the form: Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection at