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 maybe add the entire panel its place in a TabLayoutPanel) only after login. Not to mention fixing its appearance. The default looks terrible (and each cell is--oddly--underlined; I loath CSS).
On Thursday, August 2, 2012 7:24:14 AM UTC-4, Andrea Boscolo wrote:
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 http://google-web-toolkit.googlecode.com/svn/javadoc/2. can be used in both celltree and celltable and holds a HasData<T> display.5/com/google/gwt/view/client/ AsyncDataProvider.html
In the getNodeInfo the null check should be used to fill in the root element(s).
Try to simplify things i.e., removing authenticaton and the load button.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9rJLJ0BHGs8J.
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