[Laszlo-dev] seeing all events in ref guide

John Sundman jsundman at laszlosystems.com
Wed Mar 29 16:30:08 EST 2006


This looks like a great improvement.

The timing is great, as I'm reworking all the documentation having to 
do with events and the <handler> tag this week.

Thanks for taking the initiative.

jrs

On Mar 29, 2006, at 4:05 PM, P T Withington wrote:

> On 2006-03-29 15:38 EST, Jim Grandy wrote:
>
>> It's bothered me for a while that events for tag classes are not
>> listed as events in the Reference Guide. So, for example, onload is
>> listed as an event for LzView, but onresourceviewcount is not listed
>> as an event for basebutton.
>>
>> The situation is actually a bit more complex than that: script
>> classes' events are listed as events (and some are also listed as
>> attributes), while tag classes' events are listed only as attributes.
>>
>> I have a change that does the following:
>>
>> - tag class events are listed as events rather than attributes
>>
>> - fewer script class events are now listed as attributes
>>
>> I don't understand why, e.g. LzView.onfocus is listed as an
>> attribute, but the situation is improved enough that I'd like to
>> submit a changeset.
>>
>> But I wanted to check with everybody: is there a reason events should
>> be listed as attributes? Should I revert that part of it so that
>> events are listed as both attributes and events?
>
> No.  I think that is all just an artifact of us not having <event>
> and @event early on.
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



More information about the Laszlo-dev mailing list