Hello Rami,

It depends on what you need.  The sequence for node is this:

    (this.inited initially false)

    this.init();

    'oninit' event sent

    if the node has a datapath, then apply the data

    this.inited = true;

    'oninited' event sent

That's in WEB-INFO/lps/lfc/core/LzNode.lzs , __LZcallInit() .
'oninited' seems like a good one to listen to if you want everything done.

- Don

On Sep 27, 2011, at 2:01 PM, Rami Ojares wrote:

> Hi,
> 
> I noticed that when I receive oninit from a node it does not quarantee that 
> it's inited attribute is true.
> And the docs seem to confirm that too.
> "Indicates that a node's init method has been called. True when init has been 
> called and the oninit event has been sent."
> This seems to me rather odd...
> Should I listen to oninited event instead?
> 
> - rami


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: [email protected]
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com





Reply via email to