start polling moved

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129911 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-07-05 10:57:02 +00:00
parent c31d59d3c5
commit 63b1d52f31
2 changed files with 4 additions and 3 deletions

View File

@ -35,9 +35,6 @@ public class GCubeCkanDataCatalog implements EntryPoint {
* This is the entry point method.
*/
public void onModuleLoad() {
//polling for session expired check
CheckSession.getInstance().startPolling();
Window.addWindowClosingHandler(new Window.ClosingHandler() {

View File

@ -9,6 +9,7 @@ import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.GCubeCkanDataCat
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.resource.CkanPortletResources;
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanConnectorAccessPoint;
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanRole;
import org.gcube.portlets.widgets.sessionchecker.client.CheckSession;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.logical.shared.ResizeEvent;
@ -84,6 +85,9 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate{
managementPanel.doNotShowUserRelatedInfo();
}else{
//polling for session expired check
CheckSession.getInstance().startPolling();
// RETRIEVE USER'S ORGANIZATIONS
GCubeCkanDataCatalog.service.getCkanOrganizationsNamesAndUrlsForUser(new AsyncCallback<Map<String,String>>() {