Sunday, April 28, 2013

Re: As Window.confirm()

one workaround could be , 
the next execution which you want after the click of the YES, put the part of the code inside a method ... and call that method with the press of the YES in side your popup (i.e inside a clickHandler of YES button)...


On Friday, 19 December 2008 17:38:22 UTC+5, obesga wrote:
Just to know, I expected that

Thaks

On 18 dic, 16:32, "Isaac Truett" <itru...@gmail.com> wrote:
> No, you can't do that. Why fight the asynchronous tide?
>
> On Thu, Dec 18, 2008 at 10:07 AM, obesga <obe...@gmail.com> wrote:
>
> > Hello !
>
> > I want to ask if there's a method to
>
> > Window.confirm() stops the execution until the user press YES/NO
> > buttton.
> > I'm wondering if there's a way to code a DialogBox that acts the same
> > way on code, without using listeners on the DialogBox caller code.
>
> > Window.confirm(); // 'Thread' stops here
> > GWT.log("I'll wait until user press a button",null);
>
> > MyDialogBox.confim(); // 'Theard' will not stop here, can it be donde
> > GWT.log("How can I act as the code above ?",null);
>
> > anyone has tried to make this
>
> > Oskar

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment