Qooxdoo warning messages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Qooxdoo warning messages

mckwil

Hi,

After creating a small portion of my webapp with qooxdoo, I noticed that
there are alot of warnings (some of which occurs after I used decorators).

For example, I see several of the warning message "Expected color but found
'null', Expected end of value for property but found 'null'. Error in
parsing value for property 'border-top'."

I'm very confused at these warnings are generated and how I can get rid of
them.
Here is how I defined one of my decorator:

decor:
{
      decorator: qx.ui.decoration.Single,
   
      style : {
    width:1,
    styleBottom:null,
    styleRight:null,
    styleLeft:null,
    styleTop: null,
    colorLeft:null,
    colorTop:null,
    colorRight:null,
    colorBottom:null,
    backgroundColor: "blue"
      }  
},

It seems that if I don't use this decorator, the above warning message would
be muted.

Other warning message said something about "Error in parsing value for
property width. Declaration dropped.". But I checked my code carefully and
didn't really see any widget that needed width property but wasn't provided
with it.

Any ideas on getting rid of these warnings?

Thanks!
mckwil
--
View this message in context: http://old.nabble.com/Qooxdoo-warning-messages-tp27492178p27492178.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Qooxdoo warning messages

Fabian Jakobs
Administrator
mckwil schrieb:

> Hi,
>
> After creating a small portion of my webapp with qooxdoo, I noticed that
> there are alot of warnings (some of which occurs after I used decorators).
>
> For example, I see several of the warning message "Expected color but found
> 'null', Expected end of value for property but found 'null'. Error in
> parsing value for property 'border-top'."
>
> I'm very confused at these warnings are generated and how I can get rid of
> them.
> Here is how I defined one of my decorator:
>
> decor:
> {
>       decorator: qx.ui.decoration.Single,
>    
>       style : {
>     width:1,
>     styleBottom:null,
>     styleRight:null,
>     styleLeft:null,
>     styleTop: null,
>     colorLeft:null,
>     colorTop:null,
>     colorRight:null,
>     colorBottom:null,
>     backgroundColor: "blue"
>       }  
> },
>  
I quick look at the code of the single decorator showed that although
the properties are defined as nullable, the implementation isn't able to
handle null values. I've opened a bug report for this issue
<http://bugzilla.qooxdoo.org/show_bug.cgi?id=3422>.

If you only want to set the background color you don't even need a
decorator. You can simply set the background color directly on the widget.

Another option would be to use the background decorator:

      decorator: qx.ui.decoration.Background,
   
      style : {
    backgroundColor: "blue"
      }


I hope this helps,

Best,
Fabian



> It seems that if I don't use this decorator, the above warning message would
> be muted.
>
> Other warning message said something about "Error in parsing value for
> property width. Declaration dropped.". But I checked my code carefully and
> didn't really see any widget that needed width property but wasn't provided
> with it.
>
> Any ideas on getting rid of these warnings?
>
> Thanks!
> mckwil
>  


--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel