From 8bcda493daf5ceaa1bf8c40b6563c8a2ee7c41e7 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Wed, 8 May 2024 12:10:32 +0200 Subject: [PATCH] commented modal on Export facility --- .settings/org.eclipse.wst.common.component | 36 ++++++++++--------- .../client/ui/cms/project/ProjectViewer.java | 16 ++++----- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index cb65c69..27ca07b 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -1,5 +1,6 @@ - + + @@ -132,7 +133,8 @@ - + + @@ -265,7 +267,8 @@ - + + @@ -398,7 +401,8 @@ - + + @@ -531,7 +535,8 @@ - + + @@ -664,7 +669,8 @@ - + + @@ -683,13 +689,8 @@ - - uses - - - uses - - + + @@ -822,7 +823,8 @@ - + + @@ -955,7 +957,8 @@ - + + @@ -1088,7 +1091,8 @@ - + + diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/ui/cms/project/ProjectViewer.java b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/ui/cms/project/ProjectViewer.java index d4bcb2a..2866439 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/ui/cms/project/ProjectViewer.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/ui/cms/project/ProjectViewer.java @@ -260,13 +260,13 @@ public class ProjectViewer extends Composite { panel.add(new Hidden(GeoportalDataViewerConstants.USERNAME_PARAMETER, myLogin)); } - final Modal contactinServiceModal = new Modal(true, true); - contactinServiceModal.setCloseVisible(false); - contactinServiceModal.setTitle("Export"); - FlowPanel panelMsg = new FlowPanel(); - panelMsg.add(new HTML("Contacting the service...")); - contactinServiceModal.add(panelMsg); - contactinServiceModal.show(); +// final Modal contactinServiceModal = new Modal(true, true); +// contactinServiceModal.setCloseVisible(false); +// contactinServiceModal.setTitle("Export"); +// FlowPanel panelMsg = new FlowPanel(); +// panelMsg.add(new HTML("Contacting the service...")); +// contactinServiceModal.add(panelMsg); +// contactinServiceModal.show(); // Add an event handler to the form. form.addSubmitHandler(new SubmitHandler() { @@ -279,7 +279,7 @@ public class ProjectViewer extends Composite { form.addSubmitCompleteHandler(new SubmitCompleteHandler() { public void onSubmitComplete(SubmitCompleteEvent event) { GWT.log("onSubmitComplete done"); - contactinServiceModal.hide(); + //contactinServiceModal.hide(); } });