request.setAttribute("warningsToReport", warningsToReport); request.setAttribute("documentRequestCreateBeans", documentRequestCreateBeans);
request.setAttribute("documentRequestCreateBeans", documentRequestCreateBeans);
    private void getAndSetDocumentRequestCreateBeans(HttpServletRequest request,            final DynaActionForm dynaActionForm, StudentCurricularPlan studentCurricularPlan,            final List<String> chosenDocumentRequestTypes,            final DocumentPurposeType chosenDocumentPurposeType, final String otherPurpose,            final String notes, final Boolean urgentRequest) {        final List<DocumentRequestCreateBean> documentRequestCreateBeans = new ArrayList<DocumentRequestCreateBean>();        for (final String chosenDocumentRequestType : chosenDocumentRequestTypes) {            final DocumentRequestType documentRequestType = DocumentRequestType                    .valueOf(chosenDocumentRequestType);            final DocumentRequestCreateBean documentRequestCreateBean = buildDocumentRequestCreateBean(                    dynaActionForm, studentCurricularPlan, chosenDocumentPurposeType, otherPurpose,                    notes, urgentRequest, documentRequestType);            documentRequestCreateBeans.add(documentRequestCreateBean);        }        request.setAttribute("warningsToReport", warningsToReport);        request.setAttribute("documentRequestCreateBeans", documentRequestCreateBeans);    }