an error that classroot is undefined.
It's happening during initialization, in photo.lzx, there's this code inside a class definition
<text text="" width="100" fgcolor="0x1b1191" fontsize="10"
name="txt">
<method event="ontext" >
this.adjustDimensions()
</method>
<method name="adjustDimensions" >
this.setWidth(classroot.width + 20);
....
I recently added code to LzText.setText, which sends an ontext event when setText is called.
According to the call stack shown in IE, this event is being sent during the LzInstantiateView
process, by some call to setText because it's a setter for the "text" attribute.
What I can't understand is why this error shows up in IE, but not in Firefox. Is there some nondeterministic
order in which classroot gets bound before some setters are run?
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
