Hi everyone,

Sorry for cross posting, just a pointer to a thread in the forums,

http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=6567

Could someone perhaps comment on the actual designed behaviour of 
initstage="defer"?

There seems to be some confusion as to when instantiation occurs for 
deferred views

I was under the impression that could use it to delay instantiation 
until exactly when I wanted (calling completeInstantiation()),
but for some reason the code attached outputs "oninit" in the debug 
window even though completeInstantiation is never called,
some of the replys suggest it's designed like that and just a 
documentation error, but I think nobody is clear on it..

Cheers!
Matt

---
<canvas width="100%" height="100%">
   
    <class name="testClass" extends="view" initstage="defer">
        <method event="oninit">
            Debug.write("oninit");
        </method>
    </class>
   
    <testClass id="testView"/>
       
</canvas>

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

Reply via email to