RootPanel.get().clear() is what I ended up using. My specific use case was clearing the screen for new widgets.
The bigger picture is I'm trying to emulate a traditional web application, as in every time you click a link a new page shows up. On Feb 18, 7:18 am, Thomas Broyer <[email protected]> wrote: > On Feb 17, 8:47 pm, javaunixsolaris <[email protected]> wrote: > > > GWT won't let me call RootPanel.get().doDetachChildren(); It says, > > "The method doDetachChildren() from the type Panel is not visible" but > > the method is protected (in the Panel parent class) so it's children > > should be able to call it. Ideas? > > Why would you like to call this method? (at least call it that way, > i.e. on RootPanel.get()) > One thing that's quite clear, doDetachChildren is not what you're > looking for. Maybe RootPanel.get().clear()? > What's your use case? -- 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.
