aspose file tools
The moose likes JSF and the fly likes Problem With selectOneMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Problem With selectOneMenu" Watch "Problem With selectOneMenu" New topic
Author

Problem With selectOneMenu

sree lekha
Greenhorn

Joined: Jun 30, 2006
Posts: 7
Hi
I am populating data for my dropdown from database,data gets poplated but am getting a validation error for the selectOneMenu id: value is not a valid option.



I think the problem is that selectItems return a Collection of SelectItem instances, but i have declared selectOneMenu value as Long.

I am not sure that this is causing the error..

how do i solve this...

Regards
Sreelekha
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem With selectOneMenu
 
Similar Threads
JSF prevents custom validator from getting control
selectOneMenu rendered while it shouldn't
Facing Problem in JSF form SelectItem[]
Problem with loading the data after Value Change Listener on selectonemenu
The action of my commandButton does not work any more after using SelectOneMenu