Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // CS creating a Modify Admin Proposal with curric review
- if(request.getParameter(CurriculumManagementConstants.UrlParams.USE_CURRICULUM_REVIEW).equals(Boolean.FALSE.toString())) {
- urlParameters.put(KRADConstants.DISPATCH_REQUEST_PARAMETER, "saveNewVersion");
- urlParameters.put(KRADConstants.RETURN_LOCATION_PARAMETER, CMUtils.getCMHomeUrl() );
- urlParameters.put(KRADConstants.DATA_OBJECT_CLASS_ATTRIBUTE, CourseInfoWrapper.class.getName());
- urlParameters.put(KRADConstants.FORM_KEY, form.getFormKey());
- String courseBaseUrl = CurriculumManagementConstants.ControllerRequestMappings.COURSE_MAINTENANCE.replaceFirst("/", "");
- return performRedirect(form, courseBaseUrl, urlParameters);
- }
- // CS creating a Modify Admin Proposal (no curric review)
- else {
- // Set the request redirect to false so that the user stays on the same page
- form.setRequestRedirected(false);
- //redirect back to client to display confirm dialog
- return getUIFModelAndView(form, getReviewPageKradPageId());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement