Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drop down value not passed properly on the action

 
chets patel
Ranch Hand
Posts: 77
Eclipse IDE Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have rich:dataTable inside which I have drop down. I want value of each drop down in the action class. for the first drop down value is passed properly. But for the rest drop down only first value is passed to action. I am not able to find the solution. Please help.
Please find below code.



Is it the problem with hashcode and equals method?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18157
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not understand. This is a selectOneMenu control. As its name indicates, for a given submission of the form that contains it, only one value can be set on the backing bean.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic