Wednesday, February 26, 2014

Re: GWT and SVG, the 125th... :-)


On Wednesday, February 26, 2014 8:52:32 AM UTC+1, Alain wrote:
One solution could be to create a GWT widget based on a DIV element and call the JSNI in the onLoad method.
I did something similar with a Google Map widget.
 
 
Hello Alain,
 
thank you!
 
I understand that there is some DOM environment (e. g. a div) and that the JS code produces some other DOM content. And the goal is to inject the produced DOM content into the right DOM environment.
But I still cannot adapt this to my minimal example:
 
FlowPanel p = new FlowPanel ();
myClientBundle.executeJSCode();
 
Where is the result of executeJSCode and how can I move it right into my panel p?
 
Thanks
Magnus 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment