Monday, December 17, 2012

Re: Equivalent to javascript confirmdialog ind GWT

Yes this is right. At the Moment we use: 
 @Override
  public void onWindowClosing( ClosingEvent in_event )
  {
boolean confirm = Window
          .confirm("Do you want to leave this Page?");
 }

This takes the same effect but the Dialog is not editable.  
 

On Monday, December 17, 2012 12:46:15 PM UTC+1, Aldin wrote:
You actually need this https://sites.google.com/site/develop4experts/tips-and-tricks/dontleavethispage , right? But implemented in GWT?

On Mon, Dec 17, 2012 at 12:41 PM, Dominic Warzok <dom...@googlemail.com> wrote:
Because the Dialog Box don't interrup the reload process. The Dialog Box is shown but then it disapears when the page is reloading. 

--
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/-/K5kLxY-nwRcJ.
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