Fixed PortalContext rule
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@144545 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
411ceba63e
commit
2136c495a3
|
@ -1,6 +1,8 @@
|
|||
package org.gcube.portlets.user.td.client.rstudio;
|
||||
|
||||
import org.gcube.portal.clientcontext.client.GCubeClientContext;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Constants;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.user.UserInfo;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredEvent;
|
||||
|
@ -38,7 +40,9 @@ public class RStudio {
|
|||
Log.debug("Request: " + trId);
|
||||
|
||||
String url = GWT.getModuleBaseURL() + "TDRStudioServlet?"
|
||||
+ TAB_RESOURCE_ID_PARAMETER + "=" + trId.getId();
|
||||
+ TAB_RESOURCE_ID_PARAMETER + "=" + trId.getId() + "&"
|
||||
+ Constants.CURR_GROUP_ID + "="
|
||||
+ GCubeClientContext.getCurrentContextId();
|
||||
Log.debug("Server URL: " + url);
|
||||
Window.open(url, "RStudio", "");
|
||||
|
||||
|
|
Loading…
Reference in New Issue