It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Don't get me started about those stupid light bulbs.
 
subject: populating combo in JSF page
 
Similar Threads
display a profile of the car on the same page - with h:selectOneListbox
How to prepopulate combo boxes on page startup
selectOneMenu ValueChangeListener not Firing
Unable to set Default value after onchange of Combo in JSF
selectOneMenu caching issue