This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
h:selectOneMenu and valueChangeListener
JSF keeps displaying old values after Validation Phase fails (ignoring actionListeners settings)
Is it possible to refresh the dropdown h:selectOneMenu
Validation Error: Value is not valid.
unable to populate select one menu