GWT components communicating across Frames

7 views
Skip to first unread message

Rohit Ghatol

unread,
Nov 27, 2007, 5:55:20 AM11/27/07
to Google Web Toolkit
Hi Everyone,
I have a unique requirement and wanted to know the best way to
tackle.
Take a look at the Image with this url - http://rohitsghatol.googlepages.com/DialogBox.gif

Description -
1. There is a GWT based Dialog box which contains a Iframe
2. The Iframe has a html page, and the html page has a GWT Button
named OK
3. What We want to do is on click OK button, it should get a reference
to the GWT based Dialog box and close it.

What is the best way to handling such situations, in which a GWT
component may want to communicate another GWT component outside its
IFrame/Frame?

regards,
Rohit

Rohit Ghatol

unread,
Nov 27, 2007, 10:02:21 PM11/27/07
to Google Web Toolkit
Just to add more to this question

1. How would Singleton workout in case of GWT, what would be the scope
for that, a Page in a Frame/IFrame or everything on the page.?


On Nov 27, 3:55 pm, Rohit Ghatol <rohitsgha...@gmail.com> wrote:
> Hi Everyone,
> I have a unique requirement and wanted to know the best way to
> tackle.
> Take a look at the Image with this url -http://rohitsghatol.googlepages.com/DialogBox.gif

Mike

unread,
Nov 28, 2007, 5:37:24 AM11/28/07
to Google Web Toolkit
Hi,

A few days ago I thought about something similar.
I added the Ok and Cancel Button outside the IFrame to the DialogBox,
so closing the Dialog is no Problem.
Only Problem I haven't resolved yet: How to get some return value out
of the IFrame.
If you have found a solution, please let me know.

Thanks.
Reply all
Reply to author
Forward
0 new messages