panyasan wrote:
> 
> 
> 
> panyasan wrote:
>> 
>> and instantiate an Image widget in my code:
>> 
>> this.__image = new
>> qx.ui.basic.Image("icon/Tango/48/status/dialog-information.png");
>> 
> 
> Sorry, used the wrong code snipped: it is 
> 
> this.__image = new
> qx.ui.basic.Image("icon/48/status/dialog-information.png");
> 
> without the "Tango", which used to work before in another application, but
> is not working now. So the problem it the same, "Tango" or not. 
> 

It is really strange. If I add 

      qx.util.AliasManager.getInstance().add(
        "icon", 
        qxlibraries.qx.resourceUri + "/" + 
          qx.util.AliasManager.getInstance().resolve("icon")
      );

in my main() method, the network tab in firebug shows that the image is
correctly loaded from

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

However, qooxdoo still displays a notice:

qx.ui.basic.Image[hp]: Unknown image:
../../../../../qooxdoo/trunk/framework/source/resource/qx/icon/Tango/48/status/dialog-information.png

and does not display the image.

I am at a loss what to do? Is there a config.json or Manfifest.json setting
that I need to configure?

Thanks, Christian 

-- 
View this message in context: 
http://www.nabble.com/icon-URI-string-question-tp24334470p24341818.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