DOM.getElementById("buttonId").getParentElement().appendChild(simplePanel.getElement());You can't attach a widget this way. Use RootPanel.get().add(simplePanel). Also, there's no need for the IDs -- reference the Widget objects rather than the elements within. If you want to intermix straight HTML and Widgets, use HTMLPanel or UiBinder. -- 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.
