Oh this is exactly my same problem. I've inherited code that has this same issue (and it is thousands of lines of various widgets). So far folks had hacked around the problem by using JQuery.live() method.
Are you saying that Deepak's code should work if he removed the appendChild calls and instead uses add() as you indicated? Should it be outerHtmlPanel.add(innerWidget*.asWidget()*)? Thanks, -Clint On Wed, Feb 1, 2012 at 3:18 PM, Thomas Broyer <[email protected]> wrote: > Widgets have to be "attached" for their events to work, so use > outerHtmlPanel.add(innerWidget, placeholder); > > The fact that innerWidget is built with UiBinder has no consequence at all. > > See > http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/bthFbBx8xxgJ. > > 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. > -- 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.
