• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dynamically selecting value from SelectOneMenu

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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}"
id="slot_name"
value="#{backing_Adslotbean.slot_id}">
<f:selectItems value="#{ED.slot_list}"
binding="#{backing_edit_adslot.selectItems2}"
id="selectItems2"/>
</h:selectOneMenu>
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic