Wednesday, February 27, 2013

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

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.


On Wednesday, February 27, 2013 11:35:57 AM UTC+1, Thomas Broyer wrote:
You can't.
Wouldn't it be great if loading a website (which could just be an ad actually, so something that I didn't even *chose* to see) would load Twitter in an hidden iframe, fill the "compose" input and then programmatically click the "Tweet" button? (or variations along the way of Facebook, G+, GMail, or maybe buying things from Amazon, making bids on eBay, etc.)

On Wednesday, February 20, 2013 1:02:38 PM UTC+1, Laurent Garnier wrote:

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment