I have a problem with a Tree that won't show:
When the tree is returned it is added to a TreeGrid correctly.
Can anyone help a newbie out?
Code:
public Tree getAllUsers(Tree userTree) { List<String> busName = mockUserService.getAllUsers(); for (String s : busName) { TreeNode nameNode = new TreeNode(s); userTree.add(nameNode, rootNode); } return userTree; }
Can anyone help a newbie out?
Comment