I have a selectMenu, with list of (SelectItems) defined in handler as follows
Handler { List(SelectItem) stateList; State state; }
State { String stateCd; }
JSF Code::
<h:selectOneMenu value="#{state.stateCode}">
<f:selectItems value="#{handler.stateList}">
</h:selectOneMenu>
Now my list is in requestScope, and I see submitted value is string and is present in the list but I still get "Validation error: Value is not valid".Can someone assist.