No workaround that I know of to the enum problem. I would wait for the
2.1 release, at least.

/dmc

On Fri, Oct 22, 2010 at 3:25 AM, Sankalp <[email protected]> wrote:
>
> In the interim - is there any sort of workaround for this? I'm trying
> to decide if I should attempt to use the Roo-generated GWT scaffolding
> for my app, or if I should scrap my approach and try and stick to GWT
> 2.0?
>
> Thanks,
> Sankalp
>
> On Oct 21, 5:17 pm, BB <[email protected]> wrote:
>> Thank you!
>>
>> On Oct 20, 2:54 pm, "David Chandler (Google)" <[email protected]>
>> wrote:
>>
>> > I filed 
>> > thishttp://code.google.com/p/google-web-toolkit/issues/detail?id=5448
>>
>> > /dmc
>>
>> > On Oct 19, 3:53 pm, "David Chandler (Google)" <[email protected]>
>> > wrote:
>>
>> > > 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/listandlabelas
>> > > Milestone-2_1_RC1
>>
>> > > Thanks!
>> > > David Chandler
>> > > Developer Programs Engineer, GWThttp://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.
>
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
http://googlewebtoolkit.blogspot.com/

-- 
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.

Reply via email to