aspose file tools*
The moose likes JSF and the fly likes Drop down value not passed properly on the action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Drop down value not passed properly on the action" Watch "Drop down value not passed properly on the action" New topic
Author

Drop down value not passed properly on the action

chets patel
Ranch Hand

Joined: Apr 27, 2010
Posts: 72

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

Joined: Jun 25, 2001
Posts: 15641
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: Drop down value not passed properly on the action
 
Similar Threads
Skinning issue in Richfaces 4 and JSF 2
Header, Footer with dynamic data
rich:dataTable sorting issue (AJAX) + rich:datascroller does not go passed page 2
populate a drop down based on the value of another drop down which are in a data table
display multiple rich:dataTables