Friday, June 3, 2016

Re: jsinterop: GWT app as a widdget: default script injection fails.

Probably needs to be updated a bit if you want to run multiple GWT apps with different names/iframes as widgets on the page as you need a global variable per app then.

If you know everything is served from the same domain you can probably also use window.frames['appId'].contentWindow 

But yes, would be nice if JsInterop would provide a shortcut to generate a reference to the iframe automatically if desired.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment