Hi, Yes, you're right. In fact I'm using the PopupPanel directly. This is just an example to say that there might be an exception thrown if someone creates a custom widget (by extending Composite) which uses a PopupPanel in the initWidget() method.
On Feb 22, 5:59 pm, Thomas Broyer <[email protected]> wrote: > On Feb 21, 8:20 am, Tatchan <[email protected]> wrote: > > > It seems the PopupPanel will try to remove itself from its parent each > > time of showing. The parent in this case is a composite which does not > > implement HasWidgets, hence the exception. > > Is this my misuse of PopupPanel or a GWT bug? > > Actually, I don't see a single reason you extend Composite. Why don't > you simply extend Object? (i.e. from your code, remove the extends > clause and the initWidget from your constructor) -- 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.
