{
request.setAttribute("model", pageModel);
try
{
WeblogManager wmgr = RollerFactory.getRoller().getWeblogManager();
CategoriesForm form = (CategoriesForm)actionForm;
mLogger.debug("Moving categories to category, id="
+ form.getMoveToCategoryId());
// Move subCategories to new category.
String Categories[] = form.getSelectedCategories();
WeblogCategoryData parent =
wmgr.getWeblogCategory(form.getMoveToCategoryId());
if (null != Categories)
{
for (int i = 0; i < Categories.length; i++)
{
WeblogCategoryData cd =