It probably needs to be attached to the DOM in order to set the URL. Attach it to the DOM after setting it's visibility to false, then set the URL. Change it's visibility to true when you want the user to see it.
Pretty sure that should work. Email me if you can't get it to work. On Feb 5, 2:56 am, goolie <[email protected]> wrote: > Hi, > > I've a problem where I have an external webapp running inside a Frame > in my GWT project. I create the Frame and set the URL at startup of my > app but I'm not showing it until the user wants to see it. The problem > seems to be that the frame is not actually initialized until it is > visible and I need it to be initialized at startup since it is > listening to events that I'm sending to it. > > Is there a way to init the Frame without actually showing it? > > BR > Oskar -- 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.
