File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Dropdown list

 
Piyum Fernando
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we add items to Dropdownlist in jsf?
 
Dwijen Bhattacharjee
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use ---

<h:selectOneMenu value="#{beanNAme.methodname}" >
<f:selectItem itemValue="value1" itemLabel="label1"/>
<f:selectItem itemValue="value1" itemLabel="label1"/>
</h:selectOneMenu>

OR

<h:selectManyMenu ... />
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic