Hi Petr, On Wednesday 11 March 2009 Petr Kobalíček wrote: > Hi Alex, > > thanks for explanation. A have last question. Can I disable automatic > qooxdoo initialization ? If I can call > qx.event.handler.Application.onScriptLoaded(); then I don't need > qooxdoo to call it on init. Does qooxdoo dispatch a second "ready" event? Normally when you call the "onScriptLoaded" method then the "__fireReady" is called which itself checks for three boolean values before dispatching the "ready" event.
The first value is "__isReady" which is set to "true" when the if-clause is entered. Since "__fireReady" is checking against "!__isReady" the "ready" event is not fired twice. Does it fire twice? You can check this when you add a listener for "ready" at the window element. cheers, Alex ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
