I tried this solution and it worked, but I wanted to make this only create 
the popup dialog under some circumstances (like testing a boolean into the 
onbeforeunload function before returning a string). I tried adding a 
boolean to my EntryPoint and then setting it from the right piece of code, 
but that never worked.

Anyone have insight?

Brett

On Thursday, 17 December 2009 10:19:59 UTC-6, Damon Lundin wrote:
>
> > In GWT, use Window.addWindowClosingHandler and setMessage on the
> > Window.ClosingEvent.
>
> Well, how about that?  That works.  Thank you very much!
>
> I'm still a little curious though why the JSNI version doesn't work.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TX5lYp1uvboJ.
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.

Reply via email to