Cross Domain JavaScript Call to Parent Window
I Have a GWt project which contains an IFrame hosted on
myapp.domain.com.
The IFrame loads a html file from differrent domain
provide.domain.com.
Once the html in the IFrame gets loaded it calls
parent.myAppNotifyFunction();
myAppNotifyFunction() resides with my GWT project. Basically the
Iframe html after loading the page (onLoad event of body) calls
myAppNotifyFunction() to tell that the page has loaded.
I included the linker <add-linker name="xs" /> in my gwt.xml file.
But still the Iframe is not able to call parent.myAppNotifyFunction();
Any help would be great!!
Also if some one has come across such example that would be nice.
Is there anything else that i need to add for the xs linker.
Thanks in Advance!!!!
Animesh
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home