It works !

In fact, I didn't know (never try) the net folder of firebug.
This allow me to notice all not loaded files and it was not my qooXdoo  
code but some apache stuff.

Thanks !

On 30 Sep 2008, at 01:19, Petr Kobalíček wrote:

> Hi Jean,
>
> #asset is only evaluated at build time.
>
> Are you still using qxbuild ?
>
> NOTE:
>
> If you add "icons" to alias manager, you should use relative path to
> icon. For example:
>
> qx.util.AliasManager.getInstance().add("icons", "/icons/");
> var listButton = new qx.ui.toolbar.Button("List",
> "icons/24x24/plain/elements1.png");
>
> qx.util.AliasManager.getInstance().add("blabla", "/icons/");
> var listButton = new qx.ui.toolbar.Button("List",
> "blabla/24x24/plain/elements1.png");
>
> If you wan't to trace the problem, run firefox with firebug extension
> and look what files failed to load (the NET section).
>
> And finally if you are using unix based server (probably linux), look
> for case sensitivity:)
>
> Cheers
> - Petr
>
> 2008/9/29 Jean-Baptiste BRIAUD - Novlog <[EMAIL PROTECTED]>:
>> Hi,
>>
>> Is #asset evaluate at runtime or only as I assume at build time  
>> during
>> the python script (toolchain) ?
>>
>> I experienced issue loading icon but remember I don't use the
>> toolchain, I "simply" include qooXdoo lib.
>>
>> This is the way I unsuccessfully try to load icon :
>>
>> qx.util.AliasManager.getInstance().add("icons", "/icons/");
>>
>> Under the apache web root, icon can be found in a /icons folder.
>> ...
>> var listButton = new qx.ui.toolbar.Button("List", "/icons/24x24/ 
>> plain/
>> elements1.png");
>> I also try
>> var listButton = new qx.ui.toolbar.Button("List", "icons/24x24/plain/
>> elements1.png");
>>
>> Of course, on a folder point of view, there is a file
>> /icons/24x24/plain/elements1.png
>> directly accessible under the web root.
>>
>> Any idea ?
>>
>> Thanks !
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to