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 JSF + PrimeFace: Validation Error: Value is not valid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF + PrimeFace: Validation Error: Value is not valid" Watch "JSF + PrimeFace: Validation Error: Value is not valid" New topic
Author

JSF + PrimeFace: Validation Error: Value is not valid

Thang Pham
Ranch Hand

Joined: Jan 21, 2009
Posts: 35
The idea is that: there are 3 drop down lists. IF I make selection in the first drop down, data dynamically generated in the second drop down. And if I make selection in the second drop down list, data dynamically generated in the third drop down. The below error happen when I make selection in the second drop down list. I use p:message to show the error message.

where "facility" is the id of the <h:selectOneMenu>. Do you have any idea what might cause this error
It might be a bit helpful if I give you a section of my managed bean



Thang Pham
Ranch Hand

Joined: Jan 21, 2009
Posts: 35
It is solved. Change RequestScoped to ViewScoped
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF + PrimeFace: Validation Error: Value is not valid