Hello Heiko,

you are pretty much a pioneer in this area. We have designed 0.8 with 
multi-document support in mind be we have never tried to actually do it.
> Hi again,
>
> my objective is to put parts of an application in a native javascript window, 
> so it can be moved next to the original window on a second screen. 
> Additionally I need qooxdoos functionality in this window.
> Creating a second application in the window does seem to be a bit much 
> overhead, so I'm trying 
>
> My first idea consisted of opening a native window and loading a file in it.
> This file gets the qooxdoo namespace from the opener
>       <script language="javascript">
>               var qx = window.opener.qx;
>               var kes = window.opener.kes;
>       </script>
> The I created an application in it and added a toolbar. This rendered fine 
> but 
> I'm missing events and so on.
>
> My second idea was opening the window and simply creating a 
> qx.ui.root.Application in this window's document from the main application. 
> Then attach elements to this second root as if it's a normal widget.
>   
This is the way I would try to do it. Just load an empty HTML file into 
the window and once it is loaded attach a qx.ui.root.Application to the 
window's document. Have you actually tried this approach? I would be 
interested in your results.

Best Fabian

-- 
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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to