fixed
This commit is contained in:
parent
29bfce80e0
commit
2eda920c1d
|
@ -77,7 +77,7 @@ public class SectionViewer extends Composite {
|
||||||
boolean displayAsMapOfLayers = false;
|
boolean displayAsMapOfLayers = false;
|
||||||
for (SubDocumentView subDocumentView : subDocuments) {
|
for (SubDocumentView subDocumentView : subDocuments) {
|
||||||
if (subDocumentView.getListLayers() != null && subDocumentView.getListLayers().size() > 0) {
|
if (subDocumentView.getListLayers() != null && subDocumentView.getListLayers().size() > 0) {
|
||||||
GWT.log("Section with layers: " + subDocumentView.getListImages());
|
GWT.log("Section with layers: " + subDocumentView.getListLayers());
|
||||||
displayAsMapOfLayers = false;
|
displayAsMapOfLayers = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -117,6 +117,7 @@ public class SectionViewer extends Composite {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
//PASSING ONLY FROM HERE
|
||||||
GWT.log("displaying default the: " + sectionView);
|
GWT.log("displaying default the: " + sectionView);
|
||||||
for (SubDocumentView subDocumentView : subDocuments) {
|
for (SubDocumentView subDocumentView : subDocuments) {
|
||||||
String table = GeoportalDataViewerWidgetConstants.jsonToTableHTML(subDocumentView.getMetadataAsJSON());
|
String table = GeoportalDataViewerWidgetConstants.jsonToTableHTML(subDocumentView.getMetadataAsJSON());
|
||||||
|
@ -128,6 +129,13 @@ public class SectionViewer extends Composite {
|
||||||
showLinkToDownloadWsContent(fileset.getGcubeProfileFieldName(), fileset.getListPayload());
|
showLinkToDownloadWsContent(fileset.getGcubeProfileFieldName(), fileset.getListPayload());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
files = subDocumentView.getListImages();
|
||||||
|
if (files != null) {
|
||||||
|
for (FilesetDV fileset : files) {
|
||||||
|
showLinkToDownloadWsContent(fileset.getGcubeProfileFieldName(), fileset.getListPayload());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue