I tried to do it through RootPanel.get().... but I got the error which says "A widget that has an existing parent widget may not be added to the detach list". Could not get around this error till now..
let me know if you have a way to get around this... On Aug 5, 2:44 am, andrej <[email protected]> wrote: > Your HorizontalPanel was not added to a parent widget, so > Widget.onAttach() was not called. This is where event handlers are > setup. > > You could hack your panel to call Widget.onAttach(), but there's > probably a cleaner ways to do this. Can't you use RootPanel.get > ("parentId").add(panel) > to add your panel to the DOM tree? Then onAttach() is called > automatically. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
