It's not a secret anymore!*
The moose likes JSF and the fly likes how to read selected item from a selectOneListbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "how to read selected item from a selectOneListbox" Watch "how to read selected item from a selectOneListbox" New topic
Author

how to read selected item from a selectOneListbox

prathibha shiju
Greenhorn

Joined: Jun 19, 2007
Posts: 17
hi
please tell me how to read the selected item from selectOneListBox.
I tried using select in myBean but i am getting only value but i wnat the label.
<h:selectOneListbox id="sel" value="#{myBean.select}"
size="5">
regards
prathibha
 
GeeCON Prague 2014
 
subject: how to read selected item from a selectOneListbox