Hi,
I try to add RootPanel.get().clear() in the callback but it does not clear
anything. If I use RootPanel.get("nameofcontainer").clear(), then it works -
that widget is removed.
I am using the default greet example. GWT 2.0.1, Chrome browser. This is how I
create the widgets:
RootPanel.get(
RootPanel.get(
RootPanel.get(
RootPanel.get("nameFieldContainer").add(nameField);"passwordFieldContainer").add(passwordField);"sendButtonContainer").add(sendButton);"errorLabelContainer").add(errorLabel);
Did I understand RootPanel.get().clear() correctly - I thought it will
clear everything on the page
rgds,
canal
--
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.