180: TDM - Portlets must support Storage Id in communications with service

Task-Url: https://support.d4science.org/issues/180

Updated dependency

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-resources-widget@115151 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-05-29 13:55:21 +00:00
parent a38cb9833a
commit 56a3a69eab
2 changed files with 3 additions and 3 deletions

View File

@ -709,7 +709,7 @@ public class ResourcesPanel extends FramedPanel {
if (resource instanceof InternalURITD) {
InternalURITD internalURITD = (InternalURITD) resource;
UriResolverSession uriResolverSession = new UriResolverSession(
internalURITD.getUrl(), ApplicationType.GIS);
internalURITD.getId(), ApplicationType.GIS);
TDGWTServiceAsync.INSTANCE.getUriFromResolver(
uriResolverSession, new AsyncCallback<String>() {
@ -755,7 +755,7 @@ public class ResourcesPanel extends FramedPanel {
if (resource instanceof InternalURITD) {
InternalURITD genericFileResourceTD = (InternalURITD) resource;
UriResolverSession uriResolverSession = new UriResolverSession(
genericFileResourceTD.getUrl(), ApplicationType.SMP_ID,
genericFileResourceTD.getId(), ApplicationType.SMP_ID,
resourceTDDescriptor.getName(),
genericFileResourceTD.getMimeType());

View File

@ -196,7 +196,7 @@ public class ChartViewerPanel extends FramedPanel {
protected void retrieveUrlFromResolver() {
UriResolverSession uriResolverSession = new UriResolverSession(
internalURITD.getUrl(), ApplicationType.SMP_ID,
internalURITD.getId(), ApplicationType.SMP_ID,
resourceTDDescriptor.getName(), internalURITD.getMimeType());
TDGWTServiceAsync.INSTANCE.getUriFromResolver(uriResolverSession,