andre.bargull at udo.edu
Sat Nov 15 03:42:29 PST 2008
You need to include "colors.lzx" explicitly for all those iceblue, sand
etc. colors .
For swf8/9, it's already included implicitly because the debugger uses
base-components, but this isn't case for dhtml.
Change 11780 from Tucker:
LzColorUtils.inttohex(16311446) returns "gold4" - bad for
> this.__LZdiv.style.backgroundColor = c == null ? 'transparent' :
I don't think CSS knows "gold4".
And in general you need to use "bgcolor=iceblue1" - no
"lz.colors.iceblue1" or a constraint or anything else.
Because in "NodeModel#compileAttribute(Element, String, String,
Schema.Type, String)", the color conversion looks like:
> value = "LzColorUtils.convertColor('" + value + "')";
Which also explains LPP-7346 for colors-inputs like "lz.colors['gold4']"
- the quoting simply breaks.
"Compilation Errors color-$6.lzx:6:114: Syntax error: the token "gold4"
was not expected at this position."
More information about the Laszlo-dev