Oops, forgot to report back just in case anyone else has this problem. My solution was just to make sure that any array objects created by GWT are done with new $wnd.Array(), as nino hinted. Weirdly there are no type conversion errors with Function objects or normal javascript Object.
On May 26, 6:34 pm, nino <[email protected]> wrote: > Sorry i got back at you this late. > You allready spot the problem. > try doing somethinf like this > > var network_json = new $wnd.Object(); > network_json.data = { > data: { > nodes: [ { id: "1" }, { id: "2" } ], > edges: [ { id: "2to1", target: "1", source: "2" } ] > } > }; > this.draw({network: network_json}); > > Regards, > > Alain -- 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.
