How can I select a tree item by default from a PickTreeItem.
This is a node of the tree:
public static class DPTN extends TreeNode {
public DPTN(String id, String name){
setID(id);
setName(name);
}
public DPTN(String id, String name, DPTN... children){
setID(id);
setName(name);
setChildren(children);
}
}
setValue(“x”) sets the value of the formitem but does not sets the display value (name property of TreeNode).