Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Dropdown list

 
Piyum Fernando
Greenhorn
Posts: 1
  • 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
  • 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 ... />
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic