Just a comment, it only works with nodes whose depth is higher than 1. If the depth is equal to 1 you have to remove the slash.void rename(Item item, String newName) { item.getSession().move(item.getPath(), item.getParent().getPath() + "/" + newName); }ahh... that works for me. thanks.
regards edgar
