Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!