aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF SelectOneListBox issue" Watch "JSF SelectOneListBox issue" New topic

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
Don't get me started about those stupid light bulbs.
subject: JSF SelectOneListBox issue