Hi,

I was looking through the docs, to no avail. I want to use an image from the
ones shipped with the qooxdoo sdk. So I put this at the beginning of the
class file:

/* ************************************************************************
#embed(qx.icontheme/48/status/dialog-information.png)
************************************************************************ */

and instantiate an Image widget in my code:

this.__image = new
qx.ui.basic.Image("icon/Tango/48/status/dialog-information.png");

However, when the code is executed, qooxdoo tries to load the image from a
wrong location: 

http://localhost:8080/Bibliograph/qooxdoo-contrib/qcl/trunk/application/access/source/qx/icon/Tango/48/status/dialog-information.png

That means, it tries to load it from the application path rather than the
qooxdoo path. The LET section of my config.json begins like so

  "let" :
  {
    "APPLICATION"  : "access",
    "QOOXDOO_PATH" : "../../../../qooxdoo/trunk",
    "QXTHEME"      : "qx.theme.Modern",
    "API_EXCLUDE"  : ["qx.legacy.*","qx.test.*"],
    "LOCALES"      : [ "en" ],
    "CACHE"        : "cache",
    "ROOT"         : ".",

which is exaclty the same as in the skeletonApplication in qooxdoo-contrib,
which works when built. 

What do I need to do so that the image is loaded from the correct location?

Thanks,

Christian 
      

-- 
View this message in context: 
http://www.nabble.com/icon-URI-string-question-tp24334470p24334470.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


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

Reply via email to