This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validation Error: Value is not valid.

 
Babu kalagara
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all,

I have a drop down after seleting a value and submitting it is throwing up some error

" Validation Error: Value is not valid."

Please help me

Thank you,
Babu


[ August 27, 2006: Message edited by: Babu kalagara ]
 
Ravi Katam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there is no validate="false" attribute for h:selectOneMenu tag. Take that out and change that value="apple" with a real backing bean value. If you really want to see the message use attribute required="true" and don't select anything from the menu.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes you will get this error upon sending some other value, as a selected value, which was not there in the list previously.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic