aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Dropdown list" Watch "JSF Dropdown list" New topic
Author

JSF Dropdown list

Piyum Fernando
Greenhorn

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

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:selectOneMenu>

OR

<h:selectManyMenu ... />
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF Dropdown list