wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
jQuery in Action, 2nd edition
 
subject: how to read selected item from a selectOneListbox