It works on
"http://labs.openlaszlo.org/trunk-nightly/laszlo-explorer/editor.jsp?src=my-apps/copy-of-hello.lzx&lzr=dhtml",
I've just changed the bgcolor to use just the name:
---
<canvas>
<include href="base/colors.lzx" />
<simplelayout axis="x" spacing="10"/>
<class name="box1" width="100" height="100" bgcolor="gold4" />
<class name="box2" width="100" height="100" bgcolor="iceblue1" />
<box1 id="sun">
<text text="Sun"/>
</box1>
<box2 id="mystic">
<text fgcolor="0xFFFFFF" text="Mystic"/>
</box2>
</canvas>
---
Hrmm, including base/colors.lzx doesn't get this to work in DHTML. I
filed a bug on this, but Andre said (in
http://www.openlaszlo.org/pipermail/laszlo-dev/2008-November/018145.html
) it could be fixed by including base/colors.lzx, but that doesn't seem
to work... Any ideas?
P T Withington wrote:
> I appended our email as a comment.
>
> On 2008-11-18, at 12:33EST, Lou Iorio wrote:
>
>> I see there is a JIRA for this and Josh owns it.
>>
>> http://www.openlaszlo.org/jira/browse/LPP-7194