File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Head First Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: data table + selectOneMenu
 
It's not a secret anymore!