On 29 July 2010 12:26, Hilco Wijbenga <[email protected]> wrote: > I'm trying to have a popup login box show up instead of the real page > when the user is not yet logged in. The relevant code is below. > > What happens, however, is that the popup panel shows up briefly and is > then overwritten with the DockLayoutPanel, even though I did not yet > add it to the RootPanel! In fact, I clear the RootPanel explicitely. > > I am at a loss as to why this is happening. I'd love to hear your > suggestions and ideas. (Everything works as expected when the user is > logged in.) > > (I'm using GWT 2.1.0.M2 and GWT-Platform 0.3.) : > �...@override > public Widget asWidget() { > return panel; > } :
The culprit seems to be asWidget. I don't think my current approach is feasible. Back to the drawing board. -- 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.
