Monday, December 17, 2012

Re: Equivalent to javascript confirmdialog ind GWT

Are you try using History. Every time when user reload the page it is a new history token. Thean you can use this methods for reloading the entire page:  com.google.gwt.user.client.Window.Location.reload() or  com.google.gwt.user.client.Window.Location.replace(newURL);


On Mon, Dec 17, 2012 at 12:57 PM, Dominic Warzok <domi1wa@googlemail.com> wrote:
Yes if the user click on leave this page, he will be logged out of the application (Maybe redirect). If he click on stay the page will only be reload.  


On Monday, December 17, 2012 12:55:27 PM UTC+1, Aldin wrote:
So, you want to reload the page or redirect the user to another page if user click "Leave this Page". If user click "Stay on this Page" the Dialog have just to close?

On Mon, Dec 17, 2012 at 12:51 PM, Dominic Warzok <dom...@googlemail.com> wrote:
boolean confirm = Window
          .confirm("Do you want to leave this Pa

--
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/-/SF1pZcGHczIJ.

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.

--
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-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