Hi, 

I am also trying to use Cytoscape web in GWT. 
I was wondering if you successfully created the wrapper.

Any help on this topic will be greatly appreciated.

thanks.
Nik

On Sunday, June 5, 2011 1:04:43 AM UTC-4, Debug Desperado wrote:
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/YMyz_6PZK_EJ.
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