Any object that is serializable should be transferrable over the wire
to the server.  I just looked and it doesn't seem like
JavaScriptObject is serializable, so you are probably out of luck.
I'm reasonably sure there are (maybe third-party) GWT libraries for
using JSON communication.

As for your second point, I would assume this to work on the server,
but I haven't tried it.  The only reason it wouldn't is if it used
JSNI, which is certainly possible ... you'd need to check the source
code to verify.

Hope this helps.

On Nov 6, 10:25 am, DaGreat <[email protected]> wrote:
> Hi,
>
>    I'm trying to send a JavaScriptObject back to the server. Is this
> possible to do? I first tried to send the String representation of my
> JSON Object to the server just to realize the JSONParser was usable on
> the client (browser) side only.
>
>    Any help is welcome here,
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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