aspose file tools*
The moose likes JSF and the fly likes selectonemenu not selecting the backbean value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "selectonemenu not selecting the backbean value" Watch "selectonemenu not selecting the backbean value" New topic
Author

selectonemenu not selecting the backbean value

Juan Pablo Ram�rez
Greenhorn

Joined: Mar 04, 2006
Posts: 2
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: selectonemenu not selecting the backbean value