Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

data table + selectOneMenu

Brunda Gundamaraj
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic