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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: populating combo in JSF page