Hi! I have a window which opens a popup with a native javascript method: public static native void open_new_window(String url, String name, String options) /*-{ open(url, name, options); }-*/;
This new window has a button, and when someone clicks it, I want to do something on the original window with this function: public native void test() /*-{ $wnd.opener.document.forms[0].testForm.value = "AA" }-*/; The problem seems to be that $wnd.opener does not reference my original window. How can I do that? Thank you! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---