I have noticed that the Popup has changed from 1.4 to 1.5
In 1.4 I could write
Popup popup = new Popup();
popup.addPopupListener(new PopupListener()
{
public void onPopupClosed(PopupPanel sender, boolean autoClosed)
{
Window.alert("HI");
}
});
popup.show();
and it would work
In 1.5 if I write it this way the onPopupClosed fires before the popup
shows. It will fire when I close the popup too late by now.
Is this now the new rule add the listener after the show or center
method is called.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---