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