• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem With selectOneMenu  RSS feed

 
sree lekha
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!