Hi Michael,

"Bishop, Michael W. CONTR J9C880" <[EMAIL PROTECTED]> wrote on 
11/16/2006 01:21:14 PM:

> In a whiteboard, I?m switching pages (documents) and refreshing pages 
for 
> images, etc., causing me to wait for the GVTTree to render and I believe 
it?s 
> causing errors in my application.  At random times, I get an NPE when 
trying 
> to access the UpdateManager.  If I already have an ?onLoad? listener 
attached 
> to the document, can I just use that class to tell me when everything?s 
ready?
> Doesn?t ?onLoad? come after the GVTTree and ensure that the 
UpdateManager is ready?

   From memory onLoad actually happens before the UpdateManager is 
started, this is because
we run onLoad before the first rendering happens.  You should wait for the 
first
gvtRendered callback before accessing the updateManager.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to