wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Don't get me started about those stupid light bulbs.
 
subject: JSF + PrimeFace: Validation Error: Value is not valid
 
Similar Threads
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.
h:selectOneMenu and valueChangeListener
unable to populate select one menu