2010/6/19 André Moraes <[email protected]> > Jaroslav, > > Maybe instead of reaplacing you delete than insert again the element?! >
I don't understand. What would be the benefit? :) Let's say the placeholder element was third node within its parent. How can I place my widget in its place? (I do apologize, I'm still new to GWT.) > I think that the problem of not getting Clicks is because of the way > GWT handles clicks. > I believe I would have to call Panel.adopt(widget), judging by GWT-sources... Unfortunately RootPanel does not expose adopt. :( > Another approach will be make that placehoder element be an actual GWT > Widget (FlowPanel is simply a DIV) and then you add your widgets to > that panel. > I only know id of the placeholder element, I'm not creating it, therefore I can't make it a Widget. After a widget is created it should replace that element and the element should go to eternity. -- 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.
