I have an application which is being displayed in an iframe and I need
to call a native function from it. If I run the application not in the
iframe, the code runs. But if it is in the iframe, it doesn't.

public native void PrintTop() /*-{
        alert("test");
        //$wnd.PrintTop();
}-*/;

The alert shows if accessed directly, but not from within the iframe.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to