Hello Mohammed,
strange, it should work.
For me even
window.parent.postMessage("msg0", "*");
does the job when executed in the iframe.
Actually, I saw security errors using postMessage due to typos so please
double-check the spelling of postMessage, for instance.
If this does not help you
Thanks Alberto,i am not able to do this using Window.PostMessage() its
throwing this "Uncaught SecurityError: Blocked a frame with origin
"http://wlw7-mohammeds:9090; from accessing a frame with origin
"http://localhost:8080;. Protocols, domains, and ports must match."
Exception even though i
Hello,
if i understand correctly your problem is not related to GWT but to the
fact that you are attempting cross-origin communications that are forbidden
by the browser.
Probably the right path is to try to use Window.postMessage()
I have developed application using GWT 2.5. When i click on "Click to Open
Window" it will open a popup panel wrapping a content from different server
loaded inside the Frame.My requirement is to close the popup panel when
cancel button is clicked which is loaded from different server.How to