aspose file tools*
The moose likes JSF and the fly likes populating combo in JSF page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "populating combo in JSF page" Watch "populating combo in JSF page" New topic

populating combo in JSF page

indra sen

Joined: Jun 08, 2007
Posts: 27
I want to use selectOneMenu in our page.
<h:selectOneMenu id="selectOneCar"
value="#{carBean.carList}" />
But i want to make combo on javascript and instead of doing
i want to do innerHTML in selectOneCar element of document and populate it onload of page.
Is it possible.
Thanks in advance.
It is sorta covered in the JavaRanch Style Guide.
subject: populating combo in JSF page
Similar Threads
How to prepopulate combo boxes on page startup
display a profile of the car on the same page - with h:selectOneListbox
selectOneMenu caching issue
selectOneMenu ValueChangeListener not Firing
Unable to set Default value after onchange of Combo in JSF