final DocumentRequest documentRequest = getDocumentRequest(request); final DocumentRequestEditBean documentRequestEditBean = new DocumentRequestEditBean( documentRequest, getUserView(request).getPerson().getEmployee(), documentRequest .getActiveSituation().getAcademicServiceRequestSituationType(), documentRequest .getNumberOfPages()); request.setAttribute("documentRequestEditBean", documentRequestEditBean);
final DocumentRequest documentRequest = getDocumentRequest(request); final DocumentRequestEditBean documentRequestEditBean = new DocumentRequestEditBean( documentRequest, getUserView(request).getPerson().getEmployee()); request.setAttribute("documentRequestEditBean", documentRequestEditBean); request.setAttribute("url", buildUrlFrom((DynaActionForm) form));
	public ActionForward prepareEditDocumentRequest(ActionMapping mapping, ActionForm form,			HttpServletRequest request, HttpServletResponse response) {		final DocumentRequest documentRequest = getDocumentRequest(request);		final DocumentRequestEditBean documentRequestEditBean = new DocumentRequestEditBean(				documentRequest, getUserView(request).getPerson().getEmployee(), documentRequest						.getActiveSituation().getAcademicServiceRequestSituationType(), documentRequest						.getNumberOfPages());		request.setAttribute("documentRequestEditBean", documentRequestEditBean);		return mapping.findForward("editDocumentRequest");	}