ActionForm actionForm,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
{
RollerRequest rreq = RollerRequest.getRollerRequest(request);
BookmarkManager bmgr = RollerFactory.getRoller().getBookmarkManager();
FolderFormEx form = (FolderFormEx)actionForm;
FolderData parentFolder = null;
if (null!=rreq.getFolder() && null==request.getParameter("correct"))
{
// If request specifies folder and we are not correcting an
// already submitted form then load that folder into the form.
request.setAttribute("state","edit");
FolderData fd = rreq.getFolder();
form.copyFrom(fd, request.getLocale());
parentFolder = fd.getParent();
BasePageModel pageModel = new BasePageModel(
"folderForm.add.title", request, response, mapping);