It's not a secret anymore!*
The moose likes JSF and the fly likes dynamically selecting value from SelectOneMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dynamically selecting value from SelectOneMenu " Watch "dynamically selecting value from SelectOneMenu " New topic

dynamically selecting value from SelectOneMenu

Srinivasan Purushothaman

Joined: Oct 29, 2008
Posts: 3
I have a form where all employee records are displayed.
On clicking Edit button for a particular employee,his details are displayed in another form.
I am not able to select his name dynamically from h:SelectOneMenu .
How to do it?????? ??? ??? any ideas

I have the h:selectOneMenu code as follows,

<h:selectOneMenu binding="#{backing_edit_adslot.slot_name}"
<f:selectItems value="#{ED.slot_list}"
It is sorta covered in the JavaRanch Style Guide.
subject: dynamically selecting value from SelectOneMenu
Similar Threads
how to render a component based on condition
Design problem with dynamically added row in datatable
Selecting item in h:SelectOneMenu dynamically
Strange error
a4j:support with h:selectOneMenu - works in IE, not in Firefox