On Apr 9, 3:28 pm, mmoossen <[email protected]> wrote: > dear all! > > i am using a legacy class with gwt. > first i got it working on the client using super-source :) > but then serialization was not working so i had to write a > CustomFieldSerializer which is actually also working :) > > i have now only one question: is there any way to have the serializer > class in a different package than the class to serialize? may be with > an annotation or an additional interface in the class?
No. GWT just takes your class's full name and appends _CustomFieldSerializer to it. > (it has to be something like that, if i see where the serializers for > Integer and co. are located... but i could not figure it out...) Everything in the java.* package is special-cased and prepended "com.google.gwt.user.client.rpc.core." (in addition to the _CustomFieldSerializer suffix). -- 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.
