GWT RootPanel.get("id") doesnt return me the div tags which are embedded in HTML elements.
ex.
<body>
<table> <tr> <td> <div id="x" /><td>...</table> ...
How do I get access to this div tag and "Add a widget".
One of the things I tried was to get the element from the widget or widget.getElement() and add this to the append this element to an element gotten from DOM.getElementById().
The widget does get added, however, all mouse clicks are lost and widget no longer responds. The widget is a composite of menu item, so the mouse clicks cause the menu item to drop but it just selects the text.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…