145146147148149150151152153154155
wmgr.getWeblogCategory(cats[i]); // Don't move category into itself. if (!cd.getId().equals(parent.getId()) && !parent.descendentOf(cd)) { wmgr.moveWeblogCategory(cd, parent); } else { addMessage("categoriesForm.warn.notMoving", cd.getName()); } }