For other peoples reference I found a solution/work-around;
Triggered from the popup window itself, I added code that could
communicate back to that which opened it.
Native javascript like this would trigger the history;
window.opener.location.hash = "meep2";
Or something like this to trigger a
I think that only monitors the current window :-/
On 1 February 2010 14:39, mariyan nenchev wrote:
> Hi,
>
> what about Window.addCloseHandler(...);?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send emai
Hi,
what about Window.addCloseHandler(...);?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsub
thanks, but I'm affaird I wasn't clear enough :(
I meant a popup window, not a popup panel. (that is, an actual
separate browser window triggered by a Window.open), and not a
internal PopupPanel within the same window.
Sorry for the confusion.
On Feb 1, 1:42 pm, mariyan nenchev wrote:
> Hi,
>
>
Hi,
popup.addCloseHandler(new CloseHandler() {
@Override
public void onClose(CloseEvent arg0) {
// do something on close
}
});
if you use eventbus you may create your own PopupClosedEvent and onClose do
:
eventBus.fireEvent(new PopupClosedEvent())
I'm integrating a OpenID system into my site, and for part of it, I'm
triggering a popup to login to various openID providers.
This popup is opened by a simple;
Window.open(url, "_blank",
"menubar=1,resizable=1,width=480,height=400");
Is it possible to know when the user close's this popup? Eithe