Sarah, thank you very much for your reply.
Question is for performance issue.
These days, I am studying "initstage" to improve
the performance of our OL apps.
I have read a lot of documents, forums, ML, sources
and google.
I know it is easy to understand early, normal, late
and defer.
Because they work as I expected.
Especially, late or defer seem to be more effective
options to our purpose.
It is OK, indeed.
But I want to learn initstage perfectly now.
Only "immediate" is a mystery.
It may help us for our performance issue, but I do not
know at all.
I am Japanese ,not very good at English.
The descriptions below of the documents are too
difficult
for me to get the meaning.
I need for more information or sample code.
immediate
The init method is called immediately as the last
stage of instantiation.
Synchronous creation
No other code can run until all the children for
this instance are created
intstage="immediate"
new classname(parent, args, children, false)
or any trailing args are omitted, e.g. new
classname(parent, args)
Thank you
--- Sarah Allen <[EMAIL PROTECTED]> wrote:
>
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/
>
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC