Ok, the instanceof bug that Henry discovered in smoke could explain a lot of things. I am working on an improved trampoline that should help us track down any remaining bugs of this nature... I'll update you as it goes.
On 2006-09-30, at 13:06 EDT, Philip Romanik wrote: > Hi Henry, > > I'm not sure if it is a timing issue. I added some code to the > onClick event that I took from basecomponent.construct. It still > can't find what _parentcomponent is. > > Phil > > >> I'm not convinced it's only in debugging, I swear I saw that >> happen in a non-debug DHTML run. >> Maybe some obscure timing issue then ? >> >> On 9/30/06, Philip Romanik >> <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> >> wrote: >> Hi Tucker, >> >> I'm tracking down issues involving tabs. For some reason >> _parentcomponent >> is null for the tabs when debugging is enabled. _parentcomponent >> is correct >> when debugging is not enabled. >> >> From basecomponent.lzx : >> >> <method name="construct" args="parent, args"> >> super.construct(parent, args); >> >> // initialize internal _parentcomponent attribute >> var p = this.immediateparent; >> >> while (p != canvas) { >> if (p instanceof basecomponent) { >> this._parentcomponent = p; >> break; >> } >> p = p.immediateparent; >> } >> </method> >> >> >> Any ideas? I'm attaching my test code. It will display in a text >> box the >> value of the blue tabs _parentcomponent. >> >> Thanks! >> >> Phil >> >> >> >> _______________________________________________ >> Laszlo-dev mailing list >> <mailto:[email protected]>[email protected] >> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev >> >> >> >> >> >> >> -- >> Henry Minsky >> Software Architect >> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
