Hi Alex,

 I already noticed the typo and fixed it, so this wasn't the problem.

 I have investigated a bit more, in the dom tree, there its like the 
 decorator do not exist, its completly ignored, there are no img with 
 broken src, or anything similar.

 I have compiled qooxdoo with debug, and now I see an error:

 006424 Assertion error! The value of the property 'topSlice' is null! 
 Please verify the image 'aristo/decoration/form/button-t.png' is 
 present.: Expected value not to be null but found null!

 the interesting thing about this, is that the image exist, if I copy 
 the address to my browser, it works and display the image. However, 
 qooxdoo is never trying to load it, there is no single reference to it 
 in the dom tree.

 I'm starting to think its a problem of the loading order of things, 
 i.e. qooxdoo needs the decorator before another class is created or 
 something like that.

 Thanks.
 On Tue, 8 Mar 2011 16:33:08 +0100, Alexander Steitz 
 <[email protected]> wrote:
> Hi Jose Carlos,
>
> I just saw a typo in my code ... the line 'decoration : 
> "aristor/decoration'
> has to 'decoration : "aristo/decoration"'
>
> Does this help?
>
> Regards,
>   Alex
>
> On Tuesday March 8 2011 16:14:55 Jose Carlos Norte wrote:
>>  Hi Alex,
>>
>>  I have included the aliases map in the decoration theme as you 
>> stated,
>>  and its still ignoring the decorator.
>>
>>  I'm really lost this time, because I don't know the internal of how 
>> the
>>  themes and decorator are handled, I have no idea how to debug this, 
>> or
>>  what to try.
>>
>>  Thanks.
>>
>>  On Tue, 8 Mar 2011 16:02:07 +0100, Alexander Steitz
>>
>>  <[email protected]> wrote:
>> > Hi Jose Carlos,
>> >
>> > On Tuesday March 8 2011 15:25:47 Jose Carlos Norte wrote:
>> >>  I'm currently including aristo.js by myself, after qx.js. 
>> aristo.js
>> >>
>> >> is
>> >>
>> >>  a file with all the js files of aristo concatenated. I have
>> >>
>> >> modified the
>> >>
>> >>  theme, and now looks like:
>> >>
>> >>  qx.Theme.define("aristo.Aristo",
>> >>  {
>> >>
>> >>      title : "Aristo Theme",
>> >>      meta :
>> >>      {
>> >>
>> >>          color : aristo.theme.Color,
>> >>          decoration : aristo.theme.Decoration,
>> >>          font : aristo.theme.Font,
>> >>          icon : qx.theme.icon.Oxygen,
>> >>          appearance : aristo.theme.Appearance
>> >>
>> >>      },
>> >>      aliases : {
>> >>
>> >>          decoration : "aristo/decoration"
>> >>
>> >>      }
>> >>
>> >>  });
>> >
>> > You have to include the "aliases" map in the decoration theme to 
>> make
>> > it work.
>> >
>> > --snip--
>> > qx.Theme.define("aristo.theme.Decoration",
>> > {
>> >
>> >   aliases : {
>> >
>> >     decoration : "aristor/decoration"
>> >
>> >   },
>> >
>> > --snip--
>> >
>> >>  The problem is that the decorations are still not working. All 
>> the
>> >>  images that are set at the appearance, works fine. The colors 
>> are
>> >>  correct, the fonts are correct, the icons are correct. however, 
>> the
>> >>  decoration is completly ignored. If I go to the "network" tab of
>> >>  firefox, there are no 404 errors regarding the decoration 
>> images,
>> >>
>> >> so it
>> >>
>> >>  is not a problem of paths.
>> >
>> > The fix above will fix this.
>> >
>> > Regards,
>> >
>> >   Alex
>> >
>> > 
>> -------------------------------------------------------------------------
>> > ----- What You Don't Know About Data Connectivity CAN Hurt You
>> > This paper provides an overview of data connectivity, details
>> > its effect on application quality, and explores various 
>> alternative
>> > solutions. http://p.sf.net/sfu/progress-d2d
>> > _______________________________________________
>> > qooxdoo-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> 
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
 Jose Carlos Norte
 +34 93 181 30 39
 +34 635 997 078
 Departamento técnico
 eyeOS

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to