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