Thursday, February 28, 2013

Re: send event (click) to an external html page

ARRRGGG !

Thank you all for your search and help.
I don't know how to workaround my problem.
So, I'll search (alone, again, ;-)
If I find anything, I'll tell you

Best,
Laurent

Le mercredi 27 février 2013 17:59:06 UTC+1, Milan Cvejic a écrit :
Thanks Thomas for clarification of messaging api. I believed that it is working only on same domain and that it is build just to standardize communication.

Best,
Milan

On Wed, Feb 27, 2013 at 3:24 PM, Thomas Broyer <t.br...@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.

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-we...@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