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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "populating combo in JSF page" Watch "populating combo in JSF page" New topic
Author

populating combo in JSF page

indra sen
Greenhorn

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