I don't see anything obviously-wrong.

Have you tried setting a breakpoint in the update model code to see
what's going on?

It'd be good to know why the conversion failed.

On 3/17/06, _dani <[EMAIL PROTECTED]> wrote:
>
> 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