HttpServletResponse response)
throws RollerException
{
ActionMessages messages = new ActionMessages();
ActionForward forward = mapping.findForward("BookmarksForm");
Roller roller = RollerFactory.getRoller();
BookmarksPageModel pageModel = new BookmarksPageModel(
request, response, mapping, (BookmarksForm)actionForm);
request.setAttribute("model", pageModel);
WebsiteData website = pageModel.getFolder().getWebsite();
if (RollerSession.getRollerSession(request).isUserAuthorizedToAuthor(website))
{
try
{
BookmarkManager bmgr = roller.getBookmarkManager();
BookmarksForm form = (BookmarksForm)actionForm;
mLogger.debug("Moving folders and bookmarks to folder, id="
+ form.getMoveToFolderId());