@Sebastion,
well things seem to have changed in the current revision of namespace
branch.
I tried to set the paths like this with no success:
qx.manager.object.ImageManager.defineAlias("corePath",
"/qooxdoo/build/resources");
qx.manager.object.ImageManager.defineAlias("localPath", "/nra/i");
The debug window gives the following output which seems to indicate
that the aliases are not updated:
002234 INFO: qx.component.InitUiComponent(50): initialize
runtime: 16ms
003172 INFO: qx.component.InitUiComponent(50): main runtime: 922ms
003172 DEBUG:
qx.component.InitUiComponent(50): preloading visible images...
003281 DEBUG:
qx.io.image.ImagePreloader(1402): Could not load:
../../resources/icon/crystalsvg/16/help.png
003281 DEBUG:
qx.io.image.ImagePreloader(1405): Could not load:
../../resources/widget/windows/arrows/down.gif
What is the even righter way to do it ;-)
Sebastian Werner schrieb:
It's enough to use the setters. But it's even better to place them
inside defineInitialize instead directly in the global environment.
Sebastian
Dietrich Streifert schrieb:
Are the changed values in qx.core.Settings ever processed or do you
change them for completeness?
Lothar Kaiser schrieb:
Hi Dietrich,
this is the way it works with us. Just load qooxdoo.js or includer.js
and immediately after that change the paths.
<script type='text/_javascript_' src=''></script>
<script type='text/_javascript_'>
qx.core.Settings['imageCorePath'] =
'http://server.com/images';
qx.core.Settings['imageIconPath'] =
'http://server.com/themes/icons';
qx.core.Settings['imageWidgetPath'] =
'http://server.com/themes/widgets';
qx.manager.object.ImageManager.setCorePath(qx.core.Settings.imageCorePath);
qx.manager.object.ImageManager.setLocalPath(qx.core.Settings.imageLocalPath);
qx.manager.object.ImageManager.setIconPath(qx.core.Settings.imageIconPath);
qx.manager.object.ImageManager.setWidgetPath(qx.core.Settings.imageWidgetPath);
</script>
Hope this helps,
cheers,
Lothar
Am Mittwoch, den 19.07.2006, 08:53 +0200 schrieb Dietrich Streifert:
I tried setting:
qx.core.Settings.imageWidgetPath =
"qooxdoo/build/themes/widget";
qx.core.Settings.imageIconPath =
"qooxdoo/build/themes/icon/crystalsvg/";
qx.core.Settings.imageLocalPath = "/nra/i/";
qx.core.Settings.imageCorePath = "qooxdoo/build/images";
with no success. The new values seem to be ignored.
[EMAIL PROTECTED] schrieb:
Dietrich Streifert <[EMAIL PROTECTED]> writes:
Hello List,
how can I change the default paths to the icons?
In the source I found the definition of qx.core.DefaultSettings where
the image paths are defined as:
imageCorePath : "../../images",
imageLocalPath : "./",
imageIconPath : "../../themes/icons",
imageWidgetPath : "../../themes/widgets",
So after loading qooxdoo.js I tried the following without success:
The default settings get copied to Settings. (Look at qx.core.Settings.js)
You need to make your changes to Settings, after having loaded qooxdoo.js.
Derrell
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
|
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel