Hi,

I've got an application that offers some search capabilities. When you
search something, you can click on a Button and this will lead you to
open a Tree in the location where the item you searched is.

I can make an asynchronous call to a service who gives me the child
names of a given node, which I use to build the TreeItems.

For opening the tree in the right location, I need to call that
service n times, one for each level I need to go down into. But these
calls needs to be in a sequence, as the 2nd call will accept as input
the TreeItem I found in the 1st call and so on.

My tree isn't loaded entirely in memory, but it's updated on-demand
(using a TreeListener). This is why, when I click on a search result,
I need to build the hierarchy in memory prior of calling
ensureSelectedItemVisible().

What's the right way to approach this?

Thank you.


--~--~---------~--~----~------------~-------~--~----~
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