File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes creating HtmlSelectOneListbox dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "creating HtmlSelectOneListbox dynamically" Watch "creating HtmlSelectOneListbox dynamically" New topic
Author

creating HtmlSelectOneListbox dynamically

ganesh vinayaka
Greenhorn

Joined: Aug 18, 2005
Posts: 4
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

Joined: Dec 14, 2004
Posts: 464
A quick example

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


Then in your JSP



ph34r my 133t j4v4 h4><0r1ng sk177z
 
wood burning stoves
 
subject: creating HtmlSelectOneListbox dynamically
 
Similar Threads
hide sourcecode
HtmlSelectOneListBox value not set
remove "Backbutton"...in the browser
JWebunit: How to simulate clicking the "Back" button?
Populating IceFaces HtmlSelectOneListbox when not using xhtml