File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneMenu label value

 
gary stines
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I programatically get the label value from a selectOneMenu tag

<h:selectOneMenu value= "#{person.personid}">
<f:selectItems value="#{person.personList}"/>
</h:selectOneMenu>

I can access the personid in the backing bean, but how can I easily access the corresponding label value
 
Varun Khanna
Ranch Hand
Posts: 1400
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was discussed earlier. Hope it helps.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic