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: 77

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: 16250
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drop down value not passed properly on the action