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

selectonemenu not selecting the backbean value

 
Juan Pablo Ram�rez
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this problem, my object instructor is getting the correct activity value from the h:selectonemenu when is inserted to the database, but when I restart the server and consult the instructor data it renders the default value, ignoring the 'real' value. I even put an ouputText element to see the expected value and it is correct, but no with the selectonemenu.

this is my instructor



This is where I fill the actividades list



This is my custom converter for this class



The jsp fragment



Notice the <hutputText, it does print the correct value but the <h:selectOneMenu doesn't.

It's a strange behavior...

Please comment.
[ March 04, 2006: Message edited by: Juan Pablo Ram�rez ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic