Hi all,
I’m kind of frustrated not finding a solution for this annoying problem.
I have an app with a MapWidget (Google Map Gwt component), everything works great, but if I close the tab (com.smartgwt.client.widgets.tab.Tab) that has the MapWidget, when I reload the app in the hosted mode, in the shell I receive:
java.lang.AssertionError: A widget in the detach list was found not attached to the document. The is likely caused by wrapping an existing element and removing it from the document without calling RootPanel.detachNow().
With firefox I don’t receive errors at all, but in IE after closing the tab (only the one with the MapWidget), nothing keep working.
I tried different solutions, but even calling RootPanel.detachNow(mapWidget) in the CloseClickHandler of TabSet doesn’t work: Uncaught JavaScript exception [_1 has no properties] (_1 is the TabSet).
I’m using last cvn release.
I ran out of ideas, anyone has any?
Thanks.