On 08/14/2013 12:34 AM, Stef wrote: > Thanks, that worked very fine. > > One question again for integration between host and qooxdoo "isle". How can > I call into qooxdoo code from the hosting page? > When calling a static method like myapp.Manager.doSomething(), it'll work > fine (even with providing arguments into the method). > But how may I add a oncliked-handler to a button the hosting page creates? > Same question applies to html a-tags. > (Think of a generated list of sales order lines. Each of the lines should > have a link to show it in detail, which results in doing that in qooxdoo > code).
This is probably leaving the confines where qx.Desktop#island is appropriate, as you want those islands to be "fat" in functionality/widgets so it's worth the overhead. It probably looks as though you are entering the realm of qx.Website which is more designed to pimp existing pages with little overhead (e.g. like jQuery). In contrast to qx.Desktop it comes as a single-file library, no widgets, no build step, with a purely procedural interface, so it's also a different programming model. Have a look [1]. If you use qx.Desktop islands anyway, you have qx.Website automatically on the page, just reach for the 'q' global in your code. You might need to take care if you want to use special q modules, though. T. [1] http://demo.qooxdoo.org/3.0/website-api/ ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
