With the new setters patch, I'm having a bug in the amazon app, where
the "_parentcomponent" attribute of a component
appears to be not getting set.

There is a "construct" method in basecomponent which is defined as
below. I am not sure yet what is failing,. It could be the instanceof
test
never returns 'true', or maybe the immediateparent not being properly
set at the right time?

        <method name="construct" args="parent, args">
            super.construct(parent, args);

            // initialize internal _parentcomponent attribute
            var p = this.immediateparent;
            var anc = [];
            while (p != canvas) {
                anc.push(p)
                if (p instanceof lz.basecomponent) {
                    this._parentcomponent = p;
                    break;
                }
                p = p.immediateparent;
            }
        </method>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to