aspose file tools*
The moose likes JSF and the fly likes data table + selectOneMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "data table + selectOneMenu" Watch "data table + selectOneMenu" New topic
Author

data table + selectOneMenu

Brunda Gundamaraj
Greenhorn

Joined: Aug 13, 2008
Posts: 11
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: data table + selectOneMenu
 
Similar Threads
Navigation not working due due SelectOneMenu object
JSF Page Navigation on SelectOneMenu change
Issue With selectOneMenu ValueChangeListener Not Firing
Value Change Listener
JSF ValueChange problems and Default method where the form submits to