Hi, Amir
Thank you for your reply ... !!
Its working. i just added the code *RootPanel.get("divId").add(simplePanel);
*
Button button = new Button();
button.getElement().setAttribute("id", "buttonId");
SimplePanel simplePanel = new SimplePanel();
simplePane
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
Hi,
Button button = new Button();
button.getElement().setAttribute("id", "buttonId");
SimplePanel simplePanel = new SimplePanel();
simplePanel.getElement().setAttribute("id", "childPanelId");
FlexTable flexTable = new FlexTable();
Button buttonInFlexTable = new Button();
buttonInFlexTable.addClick