[Laszlo-dev] basegrid attributes with value=$immediately{null} ?
Donald Anderson
dda at ddanderson.com
Mon Jun 23 12:48:45 PDT 2008
Thanks, I will change it to null and file a JIRA to parse the
other case.
On Jun 23, 2008, at 3:40 PM, P T Withington wrote:
> [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.
Do you mean shorthand for value="y" when "x"? Otherwise it would be
value="immediately" when="null".
>
>
> 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
>>
>>
>>
>
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080623/af9be2f3/attachment-0001.html
More information about the Laszlo-dev
mailing list