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-widgetx@142046 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b9643ab54e
commit
147f59a863
|
@ -720,7 +720,9 @@ public class TabularDataXGridPanel extends ContentPanel {
|
|||
reader = new DataRowPagingReader(tableDefinition);
|
||||
|
||||
String path = GWT.getModuleBaseURL()
|
||||
+ Constants.TABULAR_DATA_X_SERVLET;
|
||||
+ Constants.TABULAR_DATA_X_SERVLET + "?"
|
||||
+ Constants.CURR_GROUP_ID + "="
|
||||
+ GCubeClientContext.getCurrentContextId();
|
||||
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,
|
||||
path);
|
||||
builder.setHeader(ServletParameters.TD_SESSION_ID,
|
||||
|
|
|
@ -4,6 +4,7 @@ import java.io.IOException;
|
|||
import java.io.InputStreamReader;
|
||||
import java.io.StringWriter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Enumeration;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletInputStream;
|
||||
|
@ -51,7 +52,12 @@ public class TabularDataXServlet extends HttpServlet {
|
|||
protected void handleRequest(HttpServletRequest request,
|
||||
HttpServletResponse response) throws ServletException, IOException {
|
||||
logger.debug("TabularDataServlet handleRequest");
|
||||
|
||||
logger.debug("Request Headers: ");
|
||||
Enumeration<String> headers=request.getHeaderNames();
|
||||
while(headers.hasMoreElements()){
|
||||
String hName=headers.nextElement();
|
||||
logger.debug("Header: "+hName+" = "+request.getHeader(hName));
|
||||
}
|
||||
try {
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue