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 <jazzmatad...@googlemail.com> 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 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