Wednesday, December 29, 2010

Re: Is it possible to consturct CellTree form database via rpc

It can be populated dynamically. Please take a look at this post:

http://groups.google.com/group/google-web-toolkit/msg/6a8f18668f046cc6

When the data provider receives results back it needs to populate
itself by calling

updateRowCount()
updateRowData()


On Dec 29, 7:12 pm, yeti <superi...@gmail.com> wrote:
> Hi ,
>
> I wonder if celltree can be built dynamically... getNodeInfo is
> synchronous, so how  to work with a asynchronous, that is , get node
> info via a request?
>
> Someone said,
>
> "pass a ListDataProvider or AsyncDataProvider into DefaultNodeInfo.
> Then you can return the NodeInfo synchronously, but populate the data
> provider asynchronously. "
>
> Is it right when I return defaultNodeinfo , it will wait me to
> populate the dataprovider?
>
> if not, could anyone show me more details?
>
> thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment