Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

data table + selectOneMenu

 
Brunda Gundamaraj
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic