But 'wm1.open' has no side effects. I would have expected it to be
wm1.open(). I'm still not sure why the demo code works.
-deech
On Thu, Sep 3, 2009 at 12:44 PM, Elsner, Robert
<[email protected]>wrote:
> There is a setModal(true) call to enable the window as a modal dialog.
>
> The line you paste simply adds the button click -> open window
> functionality.
>
> Rob
>
>
> ________________________________
>
> From: aditya siram [mailto:[email protected]]
> Sent: Thursday, September 03, 2009 10:19 AM
> To: qooxdoo Development
> Subject: [qooxdoo-devel] Modal Dialogs and blocking the
> background
>
>
> Hi all,
> I am trying to how the Window Demo [1] is able to disable other
> widgets in the modal dialogs. For example, if one clicks "Open Modal
> Dialog" in the window entitled "Third Window", it opens up a dialog
> window and disables every other widget. How does it do that? I don't see
> a setEnabled(false) anywhere?
>
> The only difference I see is the somewhat mysterious line:
>
> btn1.addListener("execute", wm1.open, wm1);
>
>
> Is this what does it?
>
> thanks ...
> -deech
>
> [1]
> http://demo.qooxdoo.org/current/demobrowser/#widget~Window.html<http://demo.qooxdoo.org/current/demobrowser/#widget%7EWindow.html>
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel