Two Laptop Bag*
The moose likes JSF and the fly likes JSF SelectOneListBox issue 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 "JSF SelectOneListBox issue" Watch "JSF SelectOneListBox issue" New topic
Author

JSF SelectOneListBox issue

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
This is my backing bean which is session scoped



This is my JSF file




I am getting an output of Test <select I am not understanding how to debug and implement the selectOneListbox. Please help

>
H Jetly
Ranch Hand

Joined: Aug 26, 2010
Posts: 41



This definition is wrong, the value of the selectOneListbox would have to correspond to a string value. This string value would hold the selected item in the list.

So your managed bean will have one more deceleration

please put its getters and setters.

and your selectOneListbox will have


This should do it.

Harsh Jetly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF SelectOneListBox issue
 
Similar Threads
JSF EJB project problem
problem when working with selectOneListbox
Help - question on selectOneListbox and page reloads
Strange behavior: action method not called when button submitted
problem with SelectOneListbox