I am creating a
JSF 2.0 project, and I am facing a problem when using the rich:pickList (richfaces 4) component with a custom converter.
I can populate the picklist left column rightly. But, when I move some item from left list to the right (by clicking in the pickList "add" button) and I try to submit the form that contains the pickList, I receive the following error message:
"mainForm:picklist: Validation Error: Value is not valid"
I have already overridden the methods equals and hashCode in my model class (Pessoas.java), but the problem remains.
Any idea about how to solve this problem?
Thank you!
cadastroEvento.xhtml
CadastroEventoBean.java
Pessoa.java (model - created automatically by hibernate)
EventSelectedApresentadorEventoConverter.java (custom converter)