RootPanel.clear is inherited from Panel. The source has it iterating through the logically attached children and removing them so it should just remove anything you added from the current GWT module. If you wanted to clear everything you would call RootPanel.get().getElement().setInnerHtml("");
On Nov 3, 7:45 pm, wahaha <il...@yahoo.com.cn> wrote: > RootPanel.get().clear(); > > does it will clear the children element of "body" defined in xx.html? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.