On Sunday 26 February 2006 17:40, Andreas Bulling wrote:
>
> If I change
>
>       public abstract String getUserType();
>
> to
>
>       public abstract Integer getUserType();

You are showing us the wrong part

You have created your own model? Show us that!

What do the getOption() and translateValue() methods do in this model?

It looks as though the "Object" type that it returns is a String, and you want 
it to return an Integer.

Thats what the code I posted in my last message did.  You loaded an array of 
strings, and the user selected from the list of strings.  The server side 
property got set with the integer index of the string chosen.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to