On 2008-11-18, at 09:26EST, [EMAIL PROTECTED] wrote:
There are two ways to make the constraint: <literal>bgcolor="$
{global['iceblue1']}"</literal> is the same as <literal>bgcolor="$
{iceblue1}"</literal>.
This ain't true any more. Colors are not defined in the global
space. And, you can't make a constraint on a constant color. Your
choices are:
bgcolor="lz.colors.iceblue" // Once the bug with this is fixed
bgcolor="$once{lz.colors.iceblue}" // Work-around for the above bug
bgcolor="iceblue" // The simplest and preferred way to specify a color
by name
Maybe we should not even document the first two. There really should
never need to be a reference to lz.colors. Even if you are trying to
set a color at run time, instead of saying:
...setAttribute('bgcolor', lz.colors.iceblue);
you should say:
...acceptAttribute('bgcolor', 'color', 'iceblue');
Except `acceptAttribute` _is_ marked as private, because we are not
sure of this design yet. Rats! Someone really ought to sit down and
think this all out, have a plan or something. http://jira.openlaszlo.org/jira/browse/LPP-7354