File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes  Validation Error: Value is not valid. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark " Validation Error: Value is not valid." Watch " Validation Error: Value is not valid." New topic
Author

Validation Error: Value is not valid.

Babu kalagara
Greenhorn

Joined: Jul 28, 2006
Posts: 13
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

Joined: Apr 29, 2005
Posts: 6
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

Joined: Aug 15, 2004
Posts: 2874
Sometimes you will get this error upon sending some other value, as a selected value, which was not there in the list previously.
 
 
subject: Validation Error: Value is not valid.