Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating HtmlSelectOneListbox dynamically

 
ganesh vinayaka
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
do any one among you know how to create a HtmlSelectOneListbox using java code in JSF. I have done it. It is displayed on browser. but the problem is i am not getting the java.util.List values in the component on the browser. How to go about it using java code.?
please reply.
thanking you
 
Rick Beaver
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick example

... in a backing bean - which we will call myBean


Then in your JSP

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic