This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes data table + selectOneMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "data table + selectOneMenu" Watch "data table + selectOneMenu" New topic
Author

data table + selectOneMenu

Brunda Gundamaraj
Greenhorn

Joined: Aug 13, 2008
Posts: 11
Hi,

I have a data table within which is a selectoneMenu.
On Submit i capture all the values and update in the DB.
I am able to get all the values on submit.

Now my problem is when data is retrieved from the database the value of the dropdown is not dispalying the selected value instead it displays the first value.

Code Sample


The getter method and setter methods are called accordingly but still the selected value is not set in the drop down.

Can anyone please tell me where have i done a mistake ?

Thanks
Brunda
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: data table + selectOneMenu
 
Similar Threads
Value Change Listener
Issue With selectOneMenu ValueChangeListener Not Firing
Navigation not working due due SelectOneMenu object
JSF ValueChange problems and Default method where the form submits to
JSF Page Navigation on SelectOneMenu change