Hi BB, This is the correct way to define an enum type as of 2.1 RC (in the EntityProxy, not the entity), and I am able to reproduce the behavior with the setter. Please file in the issue tracker: http://code.google.com/p/google-web-toolkit/issues/list and label as Milestone-2_1_RC1
Thanks! David Chandler Developer Programs Engineer, GWT http://googlewebtoolkit.blogspot.com On Oct 18, 5:11 pm, BB <[email protected]> wrote: > Hi, > > I have an enum delcalred in my EntityProxy wich should be stored at > the backend but if I try to load an Entity from the backend I get this > error: > [ERROR] [...] Parameter 0 of method UserProxy.setType does not match > method de.....server.db.User.setType > [ERROR] [...] Parameter 0 of UserProxy.setType doesn't match method > de.....server.db.User.setType > > Here is the source code:http://gist.github.com/633065 > > The problem is with the setType(Type type) method. > > Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
