Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

populating combo in JSF page

 
indra sen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic