[Laszlo-dev] basegrid attributes with value=$immediately{null} ?

P T Withington ptw at pobox.com
Mon Jun 23 12:40:56 PDT 2008


[cc-ing laszlo-dev to share these oral traditions]

`value="$x{y}"` is shorthand for `value="x" when="y"`, so I would say  
the doc tool needs to know how to parse both.

OTOH `$immediately{null}` is exactly the same as `null`; i.e., the  
default value for `when` is immediately.

Oh and, `${y}` is shorthand for `$always{y}`, because that is the most  
common reason for a when other than immediately.

The simple work-around for now would appear to be to remove the  
(useles) constraint from the source.

On 2008-06-23, at 15:27 EDT, Donald Anderson wrote:

> Hey, I noticed you three were the last that touched this, maybe you  
> know....
>
> <basegrid> has a couple attributes:
>
>        <attribute name="bgcolor0" type="color"  
> value="$immediately{null}"/>
>        <attribute name="bgcolor1" type="color"  
> value="$immediately{null}"/>
>
> $immediately{null} means nothing to the doctools, and it shows as  
> just that.
> I noticed basetabs.lzx has:
>
>      <attribute name="inset_top" value="8" type="number"  
> when="immediately" />
>
> So maybe when="immediately" is meant?
>
> This code has been in basegrid.lzx since r726 when it was imported  
> from perforce.
> Thanks,
>
> - Don
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
>
>
>



More information about the Laszlo-dev mailing list