tree1.setContainerDataSource(hier);
tree1.setItemCaptionPropertyId("name");
for (Object id : hier.rootItemIds()) {
tree1.expandItemsRecursively(id);
}
l.addComponent(tree1);
// This contains a bug, changes not reflected back to client
Button modify = new Button("Modify and sort (has a bug)",
new ClickListener() {
private static final long serialVersionUID = 1L;