Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: populating combo in JSF page