service.removeStaticPage(staticPage);
blog.info("Static page \"" + staticPage.getTitle() + "\" removed.");
service.unlock(staticPage);
} else {
getModel().put(Constants.STATIC_PAGE_KEY, staticPage);
return new StaticPageLockedView();
}
return new RedirectView(blog.getUrl() + "viewStaticPages.secureaction");
} catch (StaticPageServiceException e) {
throw new ServletException(e);