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

John Sundman jsundman at laszlosystems.com
Tue Nov 29 09:05:31 PST 2005


Adam's document is the basis for the appendix in the Developer's Guide:

http://localhost:8080/lps-dev/docs/guide/initialization-and- 
instantiation.html

I'll review to make sure it's current & address Jim's comment about  
placement.

As always, any input is welcome.

jrs

On Nov 29, 2005, at 11: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
> _______________________________________________
> 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