Alex I need to explain you my problem:

calling qx.event.handler.Application.onScriptLoaded() not helps me.
Under FF, Opera and Chrome there is no problem, but under IE i get
this message:

002063 qx.core.Init: Load runtime: 2063ms
002063 Missing application class: bfly.main.Application

bfly.main.Application is my application that is not loaded at this
time (will be later) and calling
qx.event.handler.Application.onScriptLoaded() has no effect after that
(I tried it now).

Maybe adding some settings like qxsettings["qx.disableLoad"] = true
may help me :)

Cheers
- Petr

2009/3/11 Petr Kobalíček <[email protected]>:
> 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.
>
> Cheers
> - Petr
>
> 2009/3/11 Alexander Back <[email protected]>:
>> Hi Petr,
>>
>> On Monday 09 March 2009 Petr Kobalíček wrote:
>>> is there any way to invoke application initialization manually ?
>>>
>>> I mean to completely skip qxsettings["qx.application"] and call
>>> something like qx.core.Init.init().
>>>
>>> Is this possible ?
>> It is possible, but you need to know what you're doing.
>> If you're using the a build version and all your scripts are loaded you can
>> call
>>
>> --snip--
>> qx.event.handler.Application.onScriptLoaded();
>> --snip--
>>
>> to invoke a qooxdoo application. This method is also called by the qooxdoo
>> boot loader script.
>>
>>> I need this for qxbuild. It works fine for all browsers except IE.
>>> Qxbuild loads all scripts by adding script into document head, but IE
>>> calls domready event too early (after first script is loaded). So I
>>> need to workaround this issue by calling qooxdoo initialization when
>>> I'm sure that all scripts were loaded.
>> For this case the "qx.event.handlerApplication" also listens to the "load"
>> event as fallback if the "domReady" is fired too early. Take a close look at
>> the "qx.event.handler.Application" class especially at the boolean variables
>> like "__domReady" and "__scriptLoaded" to ensure these variables are set 
>> right
>> to boot up the qooxdoo application.
>>
>> 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
>>
>

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

Reply via email to