Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with converter in h:selectManyCheckbox

 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Ideas are welcome!

Regards,
JM
 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nobody knows about what is happening to me? Why I have boobs? hehehe

Regards!
JM
 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really need help with this. Somebody could help me?

Regards,
JM
 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really stuck on this.

Please, help!

Thanks in advance!,
JM
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic