Hi,

This is what we use here with latest SVN or 0.6rc1 and it works perfectly.
There may be a bug if you change theme while running since doing it 
should overwrite path aliases (it looks like a bug for me...)

qx.core.Init.getInstance().defineInitialize(function()
    {
    qx.manager.object.AliasManager.getInstance().add("static",
    "qooxdoo/framework/resource/static");
    qx.manager.object.AliasManager.getInstance().add("widget",
    "qooxdoo/framework/resource/widget/windows");
    qx.manager.object.AliasManager.getInstance().add("icons",
    "qooxdoo/framework/resource/icon/crystalsvg");
    });

Of course you have to setup the paths correctly ; you may have to change 
icons to icon depending on the way you reference icons ...
(we used "icons" when using 0.5.x so when we ported our application we 
kept this alias)

Regards,

Stéphane.

Sebastian Werner a écrit :
> I will try to write some documentation for this as soon as possible. 
> Generally you could compile this into your qooxdoo file (the best way if 
> possible for you) otherwise you can define a settings object before 
> loading qx.js (second) or setup the defaults inside the initialize 
> method (third).
>
> Cheers,
>
> Sebastian
>
>
>
>
> dperez schrieb:
>   
>> Hi,
>>
>> This doesn't work with the current 0.6 version
>>
>> I've seen there is now an AliasManager and a qx.Settings object.
>> Which one should I use to set my image paths?
>>
>>
>> Dietrich Streifert wrote:
>>     
>>> @Florian:
>>>
>>> This is what worked for me with the current namespace branch rev in svn :
>>>
>>>     qx.manager.object.ImageManager.defineAlias("static", 
>>> "/qooxdoo/build/resources/static");
>>>     qx.manager.object.ImageManager.defineAlias("widget", 
>>> "/qooxdoo/build/resources/widget/windows")
>>>     qx.manager.object.ImageManager.defineAlias("icon", 
>>> "/qooxdoo/build/resources/icon/crystalsvg")
>>>
>>> The Paths to the images have to be set separately now.
>>>
>>> Florian Arndt schrieb:
>>>       
>>>> Hey qooxdoo folks,
>>>>
>>>> I have the same question Dietrich Streifert just asked:
>>>> "how do I set the image paths in the namespace branch?"
>>>>
>>>> I have tried
>>>>
>>>> qx.core.Init.definePre(function() {
>>>> qx.manager.object.ImageManager.setCorePath(\""+qx_relpath+"/images\");
>>>> }
>>>>
>>>> without much success.
>>>>
>>>> Any help appreciated!
>>>>
>>>> TIA, Florian
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> 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
>>>
>>>
>>>       
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   

-- 
Stéphane BERTHELOT
Hybrid Perception
- Réseau : Sécurité et Serveurs , Développements spécifiques, Formations 
logiciels libres -
38-40 rue Emile Bertin, 54000 NANCY, France
http://www.hybridperception.com
Tel/Fax. 03 83 27 21 61
Portable 06 70 23 97 60
Rédacteur sur le Blog Numérique Lorrain <http://www.le-bnl.info>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to