To track (Adam's) comment about placement, I filed a bug: http:// www.openlaszlo.org/jira/browse/LPP-1126.

jim

On Nov 29, 2005, at 9:05 AM, John Sundman wrote:

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
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to