Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to read selected item from a selectOneListbox

 
prathibha shiju
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic