[Laszlo-dev] For Review: Change 20080515-hqm-o Summary: <event> tags in components need to show up in docs

Donald Anderson dda at ddanderson.com
Thu May 15 08:37:31 PDT 2008


I think __ivars__ stands for instance variables.  Yes, class variables  
are given tag names Class.Varname
and instance variables are given tag names Class.__ivars__.Varname.

On May 15, 2008, at 7:31 AM, P T Withington wrote:

> I wonder what is meant by the __ivars__ tag, and if events should  
> have some distinct tag?  Does __ivars__ have something to do with  
> distinguishing class from instance properties?
>
> On 2008-05-15, at 02:24 EDT, Henry Minsky wrote:
>
>> Change 20080515-hqm-o by hqm at badtzmaru.home on 2008-05-15 02:17:49  
>> EDT
>>   in /Users/hqm/openlaszlo/trunk4/docs/src
>>   for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src
>>
>> Summary: <event> tags in components need to show up in docs
>>
>> New Features:
>>
>> Bugs Fixed: LPP-5989
>>
>> Technical Reviewer: dda
>> QA Reviewer: mamye
>> Doc Reviewer: max
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>>
>> See bug report. Modified XSL xpath query that is used in the  
>> "describe-inherited-events-for" template.
>>
>> The query that was there was probably copied from the describe- 
>> inherited-attributes-for, and
>> those entries are tagged with 'name="__ivars__", whereas the  
>> descriptors for class events
>> don't have that attribute.
>>
>> I found this out by reverse engineering one of the intermediate  
>> js2doc files, src/build/reference/LaszloLibrary-2.js2doc,
>> and following up out of an event, "oncomboblur", and recerating the  
>> needed xpath from that.
>>
>>
>>
>> Tests:
>>
>> reference page for datacombobox shows inherited events from  
>> basedatacombobox, etc.
>>
>> Files:
>> M      xsl/js2doc2dbk.xsl
>>
>> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080515-hqm-o.tar
>


--

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