http://www.openlaszlo.org/lps4/docs/reference/LzNode.html

The execution of a node's init method and sending of the oninit event is under the control of its initstage attribute, as follows:
immediate
The init method is called immediately as the last stage of instantiation.
early
The init method is called immediately after the view and its children have been instantiated.
normal
    The init method is called when the parent is initialized.
late
The init method is called during idle time. To check whether init has been called, check the isinited property. Force calling init using the completeInstantiation method.
defer
The init method will not be called unless explicitly requested by the completeInstantiation method.

I have used initstage early, normal, late and defer, but I have never had reason (that I can remember) of using initstage="immediate"
Is there something that leads you to ask?  or were you just curious?

Sarah

On Mon, Jul 9, 2007 at 10:10 PM, ason wrote:

When should I use initstage="immediate" ? Do you use it? Do you have any sample code which demonstrates the
effect of "immediate" ?

Also, I dont know the difference between "normal" and
"immediate".




____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/

Reply via email to