Hi Jean,

I experimented with custom loading with QxBuild, but currently it's hack.

I have script in python (post script configured in config.json) that does:

 fileData.replace('qx.event.handler.Application.onScriptLoaded();', ';');

and then I called

  qx.event.handler.Application.onScriptLoaded()

manually, but in trunk (and new qooxdoo version) you need to call:

  qx.core.Init.ready()

Hope that this helps you to solve your issue, but I also hope that
there is (or will be) better way how to manually initialize qooxdoo
application. There is discussion on the mainling list.

-- 
Best regards
- Petr Kobalicek <http://kobalicek.com>


On Wed, Apr 28, 2010 at 7:04 PM, Jean-Noël Rivasseau <[email protected]> wrote:
> Can someone reply to this?
>
> On Thu, Apr 15, 2010 at 8:04 PM, Jean-Noël Rivasseau <[email protected]>
> wrote:
>>
>> Hi,
>>
>> I'd like to be able to load my Qx app after a main web page has been
>> loaded. I thought this would be simple, just add the loader script alter
>> instead of initially. Turns out it isnt; on FF 3.5 the Qx app would NOT
>> load.
>>
>> I've looked at the source and this is because (on FF < 3.6) what actually
>> triggers the load of the application is "DOMContentLoaded", which is never
>> fired in my case since it was *already* fired. On FF 3.6 there is a
>>
>> if (qx.$$domReady || document.readyState == "complete")
>>
>> code snippet that makes it work, but FF 3.5 and below does not have
>> document.readyState.
>>
>> Would it be possbile to resolve that by adding a special option to the
>> generator that will always set qx.$$domReady to true?
>>
>> --
>> Jean-Noël Rivasseau
>> Directeur
>> (1) 778 786 3460 / (33) 01 82 88 05 26
>> Kameleoon - morphing the web
>> http://www.kameleoon.com/
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to