Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. // CS creating a Modify Admin Proposal with curric review
  2. if(request.getParameter(CurriculumManagementConstants.UrlParams.USE_CURRICULUM_REVIEW).equals(Boolean.FALSE.toString())) {
  3. urlParameters.put(KRADConstants.DISPATCH_REQUEST_PARAMETER, "saveNewVersion");
  4. urlParameters.put(KRADConstants.RETURN_LOCATION_PARAMETER, CMUtils.getCMHomeUrl() );
  5. urlParameters.put(KRADConstants.DATA_OBJECT_CLASS_ATTRIBUTE, CourseInfoWrapper.class.getName());
  6. urlParameters.put(KRADConstants.FORM_KEY, form.getFormKey());
  7. String courseBaseUrl = CurriculumManagementConstants.ControllerRequestMappings.COURSE_MAINTENANCE.replaceFirst("/", "");
  8. return performRedirect(form, courseBaseUrl, urlParameters);
  9. }
  10. // CS creating a Modify Admin Proposal (no curric review)
  11. else {
  12. // Set the request redirect to false so that the user stays on the same page
  13. form.setRequestRedirected(false);
  14. //redirect back to client to display confirm dialog
  15. return getUIFModelAndView(form, getReviewPageKradPageId());
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement