Yeah, the API doc is pretty thin and sometimes confusing.
Widget.onLoad() is called by Widget.onAttach().

While Widget.onAttach() is mostly for Panel implementers,
Widget.onLoad() is for Widget implementers. Override onLoad() if you
like to be notified when your Widget is being attached.

Look at the source:
http://code.google.com/p/google-web-toolkit/source/browse/releases/1.5/user/src/com/google/gwt/user/client/ui/Widget.java


On 12 Sep., 12:32, "Fred Janon" <[EMAIL PROTECTED]> wrote:
> *onAttach<file:///C:/GWT/doc/javadoc/com/google/gwt/user/client/ui/Widget.html#onAttach%28%29>
> *()
>           This method is called when a widget is attached to the browser's
> document.
>
> *onLoad<file:///C:/GWT/doc/javadoc/com/google/gwt/user/client/ui/Widget.html#onLoad%28%29>
> *()
>           This method is called immediately after a widget becomes attached
> to the browser's document.
>
> so what's not immediately?
>
> Thanks
>
> Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to