From 0f5b04de1068a7b3182d4fee26f08fc9decf5596 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 2 Feb 2017 11:18:11 +0000 Subject: [PATCH] refs 5870: TDM - adding new functionalities to portlets Task-Url: https://support.d4science.org/issues/5870 Updated to support SDMX Dataset export git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@142059 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/tablewidget/client/rows/RowsDataClient.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/RowsDataClient.java b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/RowsDataClient.java index 2abc7f7..8425b94 100644 --- a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/RowsDataClient.java +++ b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/RowsDataClient.java @@ -22,7 +22,9 @@ public class RowsDataClient { public void retrievesRowsAsJson() { // Send request to server and catch any errors. - String path = GWT.getModuleBaseURL() + TDWXROWSDATA; + String path = GWT.getModuleBaseURL() + TDWXROWSDATA + "?" + + Constants.CURR_GROUP_ID + "=" + + GCubeClientContext.getCurrentContextId(); RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, path); builder.setHeader(Constants.CURR_GROUP_ID, GCubeClientContext.getCurrentContextId());