I use the gwt-ext checkbox tree. The tree content is dynamically
generated, so each time it makes a http-request, and reload the
result. but the asyncTreeNode can't reload() .
code:
AsyncTreeNode root=new AsyncTreeNode("tt",defaultloader());
treepanel.setRootNode(root);
public XMLTreeLoader defaultloader(){...}
public update(String url){
XMLTreeLoader xloader = new XMLTreeLoader();
xloader.setDataUrl(url);
xloader.setMethod(Connection.GET);
root.setLoader(xloader);
root.reload();
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---