Chris R. wrote:
> To detail my question:
> It's like loading an application in an operating system: I want to
> dynamically load an external javascript file, which opens a new window
> (widget) for example.
> How is this possible? For example, via ScriptLoader or the eval() function?
>   

The easiest way would be to write a separate qooxdoo application. Then, 
from your first application you open a new window and set its location 
to the url of the second application.

> How could the dynamically loaded widget communicate with my root
> application?
>   

This is not trivial. Communicating across windows/frames is possible but 
tricky (ie. via a Flash object). What kind of communication do you need?

T.


> I also saw some approaches with the QxBuilder. Is this also possible?
>
> Sorry for my bad English!
>
> Best regards,
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Chris R. [mailto:[email protected]] 
> Gesendet: Freitag, 1. Januar 2010 23:25
> An: [email protected]
> Betreff: [qooxdoo-devel] Load window widget from external javascript file
>
> Hi everybody,
>
> I'm new to qooxdoo but very impressed :)
>
> I have a question: I'm developing an qooxdoo application, where I want to
> load a widget from an external javascript file.
> To be concrete: In my application, I'm having a button and when I click on
> this, I want to load an javascript file (another qooxdoo application) and
> start this application (in my case a new window widget should open).
> The other way could be, to open a window widget from my application and to
> load all elements *within* this window from an external application.
>
> Is this possible (second way would be better than the first)? And if so,
> how? I read about the ScriptLoader, is this the right way?
> Thanks in advance for your help and sorry for my bad English :)
>
> Best regards.
> Chris
>
>
> ----------------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to