commented modal on Export facility

This commit is contained in:
Francesco Mangiacrapa 2024-05-08 12:10:32 +02:00
parent 3e568b58b4
commit 8bcda493da
2 changed files with 28 additions and 24 deletions

View File

@ -110,6 +110,7 @@
@ -243,6 +244,7 @@
@ -376,6 +378,7 @@
@ -509,6 +512,7 @@
@ -642,6 +646,7 @@
@ -682,13 +687,9 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="geoportal-data-common-2.4.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-data-common/geoportal-data-common">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="geoportal-client-1.2.2-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-client/geoportal-client">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -933,6 +934,7 @@
@ -1066,6 +1068,7 @@
@ -1199,6 +1202,7 @@

View File

@ -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();
}
});