On Mar 17, 10:46 am, Thomas Broyer <[email protected]> wrote: > Have a look at the javadoc for the "attach" and "detach" related > methods in the Widget class; and then look at the code for, e.g. > HTMLPanel, HTMLTable, CellPanel, etc.
Thanks for the hint. Seems that the only sane way to do this is to subclass the Widget and to make onAttach public. After attaching the Element to the DOM it's sufficient to call onAttach() on the widget. Additionally it seems to be also required to call RootPanel.detachOnWindowClose(widget) to prevent mem leaks - but I'm not 100% sure. Stefan -- 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.
