Hi fellows!, I am trying to implement a CRUD for users in my web app. I am using JSF2.0, spring 3 and hibernate. The problem is when i use h:selectManyCheckbox for user roles. I am always getting a convertion error message when i press save button. I am using a FacesConverter for convertion.
This is my code:
The backing bean:
My FacesConverter for AuthorityRole class
My entities: CustomUser and AuthorityRole
And finally, my facelet:
I really dont know what I am doing wrong, but I tried a lot of modifications to the above code and i always get the convertion error message.