Friday, September 21, 2012

Re: Serializing different objects in one class that implements IsSerializable

Ok, so with that being said, ill need to create my own LatLng and Polygon objects? or?

On Fri, Sep 21, 2012 at 8:19 AM, Jens <jens.nehlmeier@gmail.com> wrote:
The Polygon class is a JavaScriptOverlay type provided by Google and it does not have a no-arg constructor, so you can't use it with GWT-RPC. Other than that I assume you can't use JSO's on server side either (How should JSNI work on server side?) so it does not make sense to use them in a serializable class. 

-- J.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jtR6LHgwVeAJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment