This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSF and the fly likes selectManyCheckbox conversion error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "selectManyCheckbox conversion error" Watch "selectManyCheckbox conversion error" New topic
Author

selectManyCheckbox conversion error

Marcus Black
Greenhorn

Joined: Mar 04, 2007
Posts: 9
Hi there,

I want to put the responses from a selectManyCheckbox to a hashmap in a backing bean:



I use this in a series of question forms, and it works very well for radio buttons etc, but when I use a multi select input I get an error:

summary=(Conversion Error setting value '1 2' for '#{SessionBean.hashmap.key17}'. ),


Any help on why this error is thrown would be most appreciated, and if anybody has a solution even better!

Regards
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: selectManyCheckbox conversion error