sorry i dont't know what do you do.
i recommend you reading beginner book that explain for GWT.
because it explain you several base sample.
Hi,first, excuse me for my poor english, but I'm french.I load an external page into a frame : final Frame frame = new Frame(url);The external page is from a public website.Can I send event to an element on this page, like click on a button, or fill a textfield ?Thx for help--
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-tool...@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.
sorry i dont't know what do you do.
i recommend you reading beginner book that explain for GWT.
because it explain you several base sample.
2013/02/21 5:58 "Laurent Garnier" <lgarn...@gmail.com>:
Hi,first, excuse me for my poor english, but I'm french.I load an external page into a frame : final Frame frame = new Frame(url);The external page is from a public website.Can I send event to an element on this page, like click on a button, or fill a textfield ?Thx for help--
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+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@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.
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.
You will need to implement some JSNI methods in order to accomplish this in GWT.
--
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-tool...@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.
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.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+unsub...@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!