From 86c1c2e4c72ebc2e04c172213e97e04921470306 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 31 Jul 2014 17:04:40 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@99174 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/TabularResourceProperties.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java index 6b5a6ab..185adae 100644 --- a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java @@ -332,18 +332,20 @@ public class TabularResourceProperties extends FramedPanel { } protected void updateTable(TableData tableData) { + trId = tableData.getTrId(); + /* tableTypeNameField.setValue(tableData.getTypeName()); if (tableMetadataPanel != null) { tableFieldSet.remove(layoutTable); layoutTable.remove(tableMetadataPanel); } - trId = tableData.getTrId(); - + + tableMetadataPanel = new TableMetadataAccordionPanel( "TableInformation", trId, eventBus); layoutTable.add(tableMetadataPanel, new VerticalLayoutData(-1, -1)); tableFieldSet.add(layoutTable); - + */ forceLayout(); } @@ -381,7 +383,7 @@ public class TabularResourceProperties extends FramedPanel { public void onSuccess(ShareInfo result) { Log.debug("Retrived share info:" + result); updateShareInfo(result); - // getLastTable(tabResource.getTrId()); + getLastTable(tabResource.getTrId()); }