Re: Gwt error while trying to delete element from parent

2013-05-30 Thread David
Hi, What are you trying to achieve with this code ? You should not be using the Element.removeFromParent directly since the FlexTable widget depends on it to be consistent. The form.removeFromParent can be used, but in this case the form widget is not attached to your document so you don't need t

Gwt error while trying to delete element from parent

2013-05-30 Thread Phanindra Vuppalapati
Below is my code FlexTable form = new FlexTable(); form.getElement().removeFromParent(); form.removeFromParent(); 16:27:32.490 [ERROR] [gipp.map.MapViewer] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (TypeError): this.removeChild is not a function fileNa