Best,
Milan
On Wed, Feb 27, 2013 at 3:24 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
On Wednesday, February 27, 2013 3:07:48 PM UTC+1, Milan Cvejic wrote:On the other hand, if you are loading iframe from the same domain, and have full control of iframe content you can use window.postMessage api for child - parent communication.If it's from the same origin, you don't need postMessage. postMessage was specifically made for cross-origin communications.See http://dev.w3.org/html5/postmsg/#web-messaging and http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#web-messaging for the spec, and http://html5demos.com/postmessage2 for a demo.You will need to implement some JSNI methods in order to accomplish this in GWT.or use Elemental.I doubt it'll solve Laurent's use case though: he was talking about loading a third-party site, and never mentioned that site was "friendly" to the "calling GWT app" (he used Google as an example)--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/xyIjJvWyRD4/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
LiquidBrain!
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment