[Laszlo-dev] For Review: Change 35233 Summary:Add a few unit tests for LzNode.

Jim Grandy jgrandy at laszlosystems.com
Tue Nov 29 08:57:51 PST 2005


Thanks. I'll file a bug against http://www.openlaszlo.org/lps-latest/ 
docs/guide/initialization-and-instantiation.html to include this  
information.

jim

On Nov 29, 2005, at 8:45 AM, Adam Wolff wrote:

> Looking this over, I realize that it elides some important information
> about placement. Does this doc appear in the docs anywhere? I seem to
> remember that it does but I didn't see it in a scan of the index.
>
> Anyway, the other thing to know about all this is that a placement  
> object
> is appened to the list of class children for every user defined class
> which has a defaultplacement. That code is in UserClass.as
>     if ( classobj.attrs.defaultplacement != null ){
>         cc.push( { name : "UserClassPlacementObject" ,
>                    attrs : classobj.attrs.defaultplacement } );
>
> When a UserClassPlacementObject gets constructed it changes the
> defaultplacement of its parent.
>
> This way, superclasses respect their subclasses' defaultplacement,  
> even if
> they redefine it.
>
> On Nov 29, Adam Wolff wrote:
>
>> On Nov 28, Jim Grandy wrote:
>> [snip]
>>> 		Details: I wrote these in part to understand how
>>> initialization and initstage works
>> Have you seen this document (attached)? It's kind of helpful for
>> understanding how things init.
>>
>> A



More information about the Laszlo-dev mailing list