Hi Heiko, Heiko Stübner wrote: > Hi, > > My application loads additional components with the qx.io2.ScriptLoader. > During the first load-cycle when qx.io2.ScriptLoader.get() creates a new > instance they work as expected. > > After they finish the loading of the file I try put the instances back into > the > pool using qx.io2.ScriptLoader.pool(instance). > > But when ScriptLoader.get() returns a "used" instance the loading with it > never completes. In Firebug I can see the correct created dom node for the > file, but the callback-Function is never called. > > I have attached the class that utilizes the ScriptLoader > Any suggestions where I went wrong? First of all the class "qx.io2.ScriptLoader" is very, very new and (yet) not used inside the framework. So you're living really bleeding edge :-) As the package "io2" is yet not completed (only the "ImageLoader" class is used), it is to be considered still a little bit buggy. I've just updated the documentation to mark the "io2" packages as experimental.
If you want to load scripts dynamically from your server you can alternatively use a "qx.io.remote.Request" to get the data. Take a look at the documentation at http://qooxdoo.org/documentation/0.8/remote_io Hope this helps, 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
