|
|
|
@ -66,9 +66,9 @@ public class CollaborateWithUs extends MVCPortlet {
|
|
|
|
|
HttpServletRequest request = PortalUtil.getHttpServletRequest(actionRequest);
|
|
|
|
|
boolean result = sendNotificationToUser(request, groupId, currentUser, theManagers, experiment_name, people_institutions, theAbstract, experiment_tags);
|
|
|
|
|
if (result)
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/collaboratewithus/view-method-inserted.jsp");
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/collaboratewithus/view-experiment-inserted.jsp");
|
|
|
|
|
else
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/collaboratewithus/view-method-error.jsp");
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/collaboratewithus/view-experiment-error.jsp");
|
|
|
|
|
} catch(Exception e){
|
|
|
|
|
SessionErrors.add(actionRequest.getPortletSession(),"experiment-form-error");
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|