Hi community,
I have a question about using Window in Window. I have following code:

        win1 = new qx.ui.window.Window('test1', null);
        win1.set({ width:600, height:400 });
        win2 = new qx.ui.window.Window('test2', null);
        win2.set({ width:"auto", height:"auto", modal:true });
        dc = new qx.ui.component.DateChooser;
        
        win1.add(win2);
        win2.add(dc);
        doc.add(win1);
        
        win1.open();
        win2.open();

- Window1 contains Window2 and Window2 contains DateChooser as hier:
        ---------------------------------------------------------
        |Win1                                                   |
        |                                                       |
        |       -------------------------                       |
        |       |Win2                   |                       |
        |       |                       |                       |
        |       |       DateChooser     |                       |
        |       |                       |                       |
        |       |_______________________|                       |
        |                                                       |
        |-------------------------------------------------------|

The problem is: if i make Win2 modal - Widgets(not one of them)
do not respond to any mouse/keyboard aktivity. Application "hangs".
The problem can be solved by adding win2 to doc and not to win1:

        doc.add(win2)

but it should also work with win1, shouldn't it?

Help will be really appreciated.
alex.d






-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to