Re: AsyncDataProvider and CellTree

2012-08-02 Thread Andrea Boscolo
How do you bind a cell tree using uibinder? I think you can't call directly the getNodeInfo and expect you tree to be populated. The async data provider fills the tree by calling the onRangeChanged(), there is where you need to put you RPC call. The

Re: AsyncDataProvider and CellTree

2012-08-02 Thread Thad
Ah ha! Thanks, Andrea. I hard coded the authentication into the RPC getDirectoryListing() and it works. Files and folders display. Clicking on folders makes the RPC call lists the contents. Now my challenge is to figure out how to add the CellTree only after the login has been made (or

Re: AsyncDataProvider and CellTree

2012-08-01 Thread Thad
, about the calls to updateRowCount() and updateRowData() and the onRangeChanged() (which is still the same). These calls are shown in the only CellTree AsyncDataProvider example I can find--https://groups.google.com/forum/?starthl=en#!searchin/google-web-toolkit/CellTree$20asyncdataprovider/google

Re: AsyncDataProvider and CellTree

2012-07-31 Thread Andrea Boscolo
On Monday, July 30, 2012 10:02:03 PM UTC+2, Thad wrote: I have a CellTree in which I want to represent something similar to a directory listing (actually represented in database records): public class DirectoryObject implements Serializable { public String name; public String

AsyncDataProvider and CellTree

2012-07-30 Thread Thad
I have a CellTree in which I want to represent something similar to a directory listing (actually represented in database records): public class DirectoryObject implements Serializable { public String name; public String type; // 'file' or 'folder' public int group; ... } This