ok, iam doing like your example.
Grettings
insulae
2008/12/5 Fabian Jakobs <[EMAIL PROTECTED]>:
> Hi Juan,
>> i want to create personalized message, like alert, warning, info (like
>> zenity or dialog in linux).
>> so i am using the class qx.ui.window.Window, but i have a problem i
>> want to stop de execution when the window message is open() and wait
>> for a response.
>>
> It is not possible to wait blocking for user input. There is no way you
> can do this synchronously. You will have to register a callback for the
> close event and proceed from there:
>
> var winAlert = new class.winAlert("question?");
> winAlert.open();
>
> // you can't wait for the result here
>
> winAlert.addListener("close", function(e) {
> // proceed here
> }, this);
>
>
> Best Fabian
>
>> example:
>> ------------
>>
>> var winAlert = new class.winAlert("question?");
>> winAlert.open();
>> if (winAlert.getResponse()){
>> alert("ok");
>> }
>> else{
>> alert("cancel");
>> }
>>
>>
>>
>>
>
>
> --
> Fabian Jakobs
> JavaScript Framework Developer
>
> 1&1 Internet AG
> Brauerstraße 48
> 76135 Karlsruhe
>
> Amtsgericht Montabaur HRB 6484
>
> Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
> Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss,
> Achim Weiss
> Aufsichtsratsvorsitzender: Michael Scheeren
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Juan Matias Granda
http://www.insulae.com.ar
GPG FINGERPRINT:459C 4A2D 330C CB8C 0C44 0C3A 572C CBCA 5457 508B
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel