Yeah, I instrumented it a bit myself and can't see what is going wrong
yet. I thought it might be a placement issue, that the component was
not getting placed correctly inside the correct parent. Anyways,
something we need to work on tracking down.
On 2008-03-14, at 12:38 EDT, Henry Minsky wrote:
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]