I would suggest this article:
http://qooxdoo.org/documentation/user_manual/settings
Oops, just found out that this is qx 0.7 and not qx 0.6 relevant. In
0.6 this is a lot more complicated. Mhh, ok, you can define a map
structure before loading qooxdoo like this:
qx = {
Settings :
{
_customSettings : {
"qx.manager.object.AliasManager" : {
"resourceUri" : "../my/path"
}
}
}
};
Alternatively you can build these information directly inside the
script. When you directly use the generator.py please be sure to read
the part regarding the settings:
http://qooxdoo.org/documentation/user_manual/
custom_builds#customizing_the_runtime_settings
Hope this helps.
Sebastian
Am 10.05.2007 um 23:19 schrieb Martin Drautzburg:
> On Thursday, 10. May 2007 21:36, Martin Drautzburg wrote:
>
>> When I run the one in the SkeletonDemo/source directory everything
>> is fine,
>> but when I run the one in SkeletonDemo I get the following error in
>> firebug:
>>
>> ERROR: qx.io.image.PreloaderSystem[125]: Could not preload:
>> widget/splitpane/knob-horizontal.png,
>
> Found it myself. I had compiled a qx.js from just the qooxdoo
> sources. The
> compiled script had this line in it:
>
> qx.Settings.setDefault("resourceUri","../../resource");
>
> all my attempts to set this value within index.html or my
> application code had
> no effect, because that happened too late.
>
> Okay this would not have happened if I had faithfully used the
> Skeleton and
> the Makefile and a separate build directory and all these other
> bells and
> whistels.
>
> Currently I have replaced the line above in qx.js with
>
> qx.Settings.setDefault("resourceUri",qx.myResourceUri);
>
> and then I set qx.myResourceUri in index.html, but that feels a
> little too
> hackerish to me. Is there a way I can set the resourceUri from
> within my
> code, without doing a recompilation in a semi-legal way?
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel