Hello

i have a list of usernames in a listbox, when i select one user and press
the commandbutton i see the id of the user - so far so good. 


<h:form id="myForm">
<h:selectOneListbox value="#{selectedUserBean.selectedUser}"
    converter="User">
  <f:selectitems value="#{userListBean.userList}"/>
</h:selectOneListbox>
 
<h:commandButton action="submit" value="submit"/>
<hr/>
User id: 
  <h:outputText id="edit_id" value="#{selectedUserBean.selectedUser.id}"/>
</h:form>



selectedUserBean: SessionBean
userListBean: RequestBean


public class User {
 private String name;
 private String id;
 
 getters/setters...
}



But now i want to change the user id. so i replace the outputText by

<h:inputText value="#{selectedUserBean.selectedUser.id}"/>



if i now select an user and press the button i always get the error
"converter error duringModel update for component with id: edit_id". And the
inputText filed shows no value.

can someone help me?
--
View this message in context: 
http://www.nabble.com/Converter-error-during-Model-update-t1296244.html#a3451448
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to