Commented DownloadServlet in the web.xml

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@171925 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-10-04 10:14:28 +00:00
parent dcf96ca5d5
commit 72922d053a
2 changed files with 12 additions and 10 deletions

View File

@ -224,7 +224,6 @@ public class TrashInfoContainer extends LayoutContainer {
//bar.add(buttonRestoreAll);
buttonEmptyTrash = new Button(WorkspaceTrashOperation.EMPTY_TRASH.getLabel(),Resources.getTrashEmpty());
buttonEmptyTrash.setToolTip(WorkspaceTrashOperation.EMPTY_TRASH.getOperationDescription());
buttonEmptyTrash.setScale(ButtonScale.SMALL);
@ -362,10 +361,13 @@ public class TrashInfoContainer extends LayoutContainer {
for (FileTrashedModel fileTrashedModel : trashFiles) {
fileTrashedModel.setIcon();
// GWT.log("TrashFile: "+fileTrashedModel);
// //Workaround remove this
// if(fileTrashedModel.isDirectory())
// fileTrashedModel.setFolderItemType(GXTFolderItemTypeEnum.FOLDER);
}
store.add(trashFiles);
activeButtonsOnNotEmtpy(store.getModels().size()>0);
}

View File

@ -30,10 +30,10 @@
<servlet-class>org.gcube.portlets.user.workspace.server.DownloadServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>DownloadFolderServlet</servlet-name>
<servlet-class>org.gcube.portlets.user.workspace.server.DownloadFolderServlet</servlet-class>
</servlet>
<!-- <servlet> -->
<!-- <servlet-name>DownloadFolderServlet</servlet-name> -->
<!-- <servlet-class>org.gcube.portlets.user.workspace.server.DownloadFolderServlet</servlet-class> -->
<!-- </servlet> -->
<!-- Servlets -->
<servlet>
@ -173,10 +173,10 @@
<url-pattern>/workspace/DownloadService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DownloadFolderServlet</servlet-name>
<url-pattern>/workspace/DownloadFolderServlet</url-pattern>
</servlet-mapping>
<!-- <servlet-mapping> -->
<!-- <servlet-name>DownloadFolderServlet</servlet-name> -->
<!-- <url-pattern>/workspace/DownloadFolderServlet</url-pattern> -->
<!-- </servlet-mapping> -->
<!-- <servlet-mapping> -->