FragmentCommandEntry commandEntry = (FragmentCommandEntry)commandEntryFromRequest(req);
if(commandEntry == null){
throw new InputException(resources.getMessage(locale, "smssvc.editedInteractionDoesNotExistAnymore"));
}
checkAccessRights(req, commandEntry.getGroup());
fragmentForm.initialize(commandEntry, locale, session, getResources(req));
SmsDbManager smsDbManager = new SmsDbManager(locale,session);
req.getSession().setAttribute("fragments", smsDbManager.getFragments(groupFromSession(req)));
req.getSession().setAttribute("enterOrEdit", "edit");
req.getSession().setAttribute("formActionPath", req.getParameter("formActionPath"));
return mapping.findForward("edit");