Hi Klaus,

Klaus-F. Kaal wrote:
> Hi,
> 
> I am having a project, where I use a split pane concept like in the demo 
> browser. In that, I also use an IFrame to display a html page. In that page, 
> I 
> would like to implement an Inline element (Test.js).
> 
> I could not figure out from the manual, do I need to reference in that page 
> the 
> class file itself (Test.js), or the myproject.js? Or can't I mix the 
> application 
> with inline elements (but the demo browser does that)?
As the Iframe represents an own document you have to ensure that the 
qooxdoo classes and your application classes are loaded within this 
iframe to use them.
The demobrowser application for example also uses an iframe inside the 
application itself. So basically you have *two* qooxdoo applications 
there: the demobrowser itself and the demos which are loaded by the 
demobrowser application into the iframe.
To achieve this it is necessary to load the needed qooxdoo classes into 
both (demobrowser window and demo iframe) along with the needed 
application classes.

To come back to your problem: if you want to have an qooxdoo application 
that shows a splitpane with an iframe widget inside you have to setup 
two complete qooxdoo applications, because at the moment we do not have 
multi-document support for one application as far as I know.

> In the demo browser, you reference the "helper.js" which I do not use in my 
> project.
The "helper.js" file is necessary for loading the demo application 
inside the iframe widget and does some other magic.

If you further questions, don't hesitate to ask :)

cheers,
   Alex

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