wood burning stoves
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

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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: JSF SelectOneListBox issue
It's not a secret anymore!