This commit is contained in:
Massimiliano Assante 2018-02-07 16:26:25 +00:00
parent 77db56649d
commit 1bc70890e8
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -72,6 +72,7 @@
Cancel</a> Cancel</a>
<aui:button type="submit" value="Submit" /> <aui:button type="submit" value="Submit" />
</aui:button-row> </aui:button-row>
<p>Please note: depending on the number of attachments it could take some time (seconds) to submit the request.</p>
</aui:form> </aui:form>
</div> </div>
</c:otherwise> </c:otherwise>