Monday, December 17, 2012

Re: Equivalent to javascript confirmdialog ind GWT



On Monday, December 17, 2012 12:28:39 PM UTC+1, Dominic Warzok wrote:
Hey together, 

I try about a day to find an equvalent to the javascript confirm-dialog.

Window.confirm() ?

My problem is that when the user reload the webpage, he should get a dialog with a "Yes" and a "No" button where he can decide to only reload the page or to log off from the page.

In that specific case, you'll want to Window.addClosingHandler and setMessage on the event.

--
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/-/bfLimLhDjHkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment