Hi everyone,

I got a question regarding datatypes. I got a object on the server side 
that has a value of type Object. Like this:

class MyObject{
    public *Object *getValue();
    public void setValue(*Object *value);
}


How is it possible to have proxies for this object on the client side (with 
different datatypes (Date, String, Double, Long, etc.))? Object-Datatype is 
not allowed in proxies. Using a template-type is also not allowed. Is it 
somehow possible to have proxies for this object?

I guess I would like to have something like this:

@ProxyFor(value = MyObject.class)
MyDateObjectProxy{
    public *Date *getValue();
    public void setValue(*Date *value);
}

or

@ProxyFor(value = MyObject.class)
MyStringObjectProxy{
    public *String *getValue();
    public void setValue(*String *value);
}

Your help is much appreciated.

Kind regards,
Manuel

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to