|
|
|
@ -77,9 +77,9 @@ public class UploadDataset extends MVCPortlet {
|
|
|
|
|
boolean result = sendNotificationToUser(
|
|
|
|
|
request, groupId, currentUser, theManagers, method_name, people_institutions, demo_tutorial, attachmentIds, experiment_tags);
|
|
|
|
|
if (result)
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/uploaddataset/view-experiment-inserted.jsp");
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/uploaddataset/view-method-inserted.jsp");
|
|
|
|
|
else
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/uploaddataset/view-experiment-error.jsp");
|
|
|
|
|
actionResponse.setRenderParameter("mvcPath", "/html/uploaddataset/view-method-error.jsp");
|
|
|
|
|
}catch(Exception e){
|
|
|
|
|
SessionErrors.add(actionRequest.getPortletSession(),"view-method-error");
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|