This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF Dropdown list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Dropdown list" Watch "JSF Dropdown list" New topic

JSF Dropdown list

Piyum Fernando

Joined: Apr 29, 2008
Posts: 1
How can we add items to Dropdownlist in jsf?
Dwijen Bhattacharjee

Joined: Mar 31, 2008
Posts: 26
you can use ---

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


<h:selectManyMenu ... />
Consider Paul's rocket mass heater.
subject: JSF Dropdown list
It's not a secret anymore!