Sorry, still cant work this out, I tried

RootPanel.get().getParent()...

and also native javascript ;


        public static native void testWindow()
                /*-{
                  $wnd.alert("test");
                         var a;

                        a = parent.$doc.getElementsByTagName("link");

                        $wnd.alert(a.getAttribute("title"));

                }-*/;

Neither worked.

Is there any way at all to access stuff outside an iframe if the gwt
code is running in one?


On Oct 23, 3:47 pm, darkflame <[EMAIL PROTECTED]> wrote:
> If my GWT app is in a containeriframe, is it possible to get
> propertys of elements from outside that frame?
>
> I tried a simple;
>
>  DOM.getElementById("testid").getInnerText())
>
> But the app couldnt find it.
>
> Is there any way for the GWT app to look "outside" its container? Or
> to even tell if it has one?
--~--~---------~--~----~------------~-------~--~----~
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