And now the question how to implement this in JS
On Monday, December 17, 2012 1:35:50 PM UTC+1, Aldin wrote:
-- On Monday, December 17, 2012 1:35:50 PM UTC+1, Aldin wrote:
If you don't use History, you can use jQuery/JavaScript. I guess this is the only solution. Do you really need this in your app project?On Mon, Dec 17, 2012 at 1:19 PM, Dominic Warzok <dom...@googlemail.com> wrote:
No I' not using the history and in my opinon this is not necessary.The way this should go is.The user press "F5" or "Crlt + R" than the dialog should appear and the user can decide to log of or to continue the reloading of the page.So there is no need to use the history.
On Monday, December 17, 2012 1:13:11 PM UTC+1, Aldin wrote: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.Win dow.Location.replace(newURL);
On Mon, Dec 17, 2012 at 12:57 PM, Dominic Warzok <dom...@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--To view this discussion on the web visit https://groups.google.com/d/ms
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.g/google-web-toolkit/-/SF1pZcG .HczIJ
To post to this group, send email to google-we...@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 .
--To view this discussion on the web visit https://groups.google.com/d/
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.msg/google-web-toolkit/-/YXi- .A_OTOPcJ
To post to this group, send email to google-we...@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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/S6abpbxoju4J.
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