From bb31f4fa9606273ffd34b2c860244278170ba924 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 24 Oct 2014 15:52:26 +0000 Subject: [PATCH] Updated Flows git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@100980 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/portlets/user/td/client/TabularDataController.java | 4 ++-- .../org/gcube/portlets/user/td/tabulardataportlet.gwt.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java index fefc7e4..2a7af11 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java +++ b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java @@ -176,7 +176,7 @@ public class TabularDataController { public void onFailure(Throwable caught) { Log.info("No valid user found: " + caught.getMessage()); if (caught instanceof TDGWTSessionExpiredException) { - UtilsGXT3.alert("Error", "No user found"); + UtilsGXT3.alert("Error", "Expired Session"); sessionExpiredShowDelayed(); } else { UtilsGXT3.alert("Error", "No user found"); @@ -201,7 +201,7 @@ public class TabularDataController { } }; - int TIMEOUT = 5; // 3 second timeout + int TIMEOUT = 3; // 3 second timeout timeoutTimer.schedule(TIMEOUT * 1000); // timeout is in milliseconds diff --git a/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml index 090a5f5..1d883c5 100644 --- a/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml @@ -70,12 +70,12 @@ value="ENABLED" /> --> - + - +