Friday, February 22, 2013

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

You can use the DOM class to access elements by id. I am pretty sure your iframe is accessible in the manner.

If not, check out the JSNI code used by Print-it to access a hidden iframe and use it for printing purposes.



On Fri, Feb 22, 2013 at 12:18 AM, Laurent Garnier <lgarnier11@gmail.com> wrote:
I try to explain better my problem.
I load a frame with an url (like www.google.fr)
How can I fill the text field (id="gbqfq"), and send click to search button (id="gbqfba") ?
Do you understand what I mean now ?

Thx

Le jeudi 21 février 2013 00:33:44 UTC+1, hprc a écrit :

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+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.

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



--
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti




--
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