Minor update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-mainbox-widget@101204 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c05161fbe8
commit
62ade66979
|
@ -86,7 +86,7 @@ public class MainBox extends TabPanel {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
//forceLayout();
|
// forceLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -242,7 +242,7 @@ public class MainBox extends TabPanel {
|
||||||
if (tdxPanel.getTabularResourceDataView().getTrId().getId()
|
if (tdxPanel.getTabularResourceDataView().getTrId().getId()
|
||||||
.compareTo(tabularResourceDataView.getTrId().getId()) == 0) {
|
.compareTo(tabularResourceDataView.getTrId().getId()) == 0) {
|
||||||
tdxPanel.update(tabularResourceDataView);
|
tdxPanel.update(tabularResourceDataView);
|
||||||
Log.debug("Set Active Widget: "+tdxPanel.getId());
|
Log.debug("Set Active Widget: " + tdxPanel.getId());
|
||||||
setActiveWidget(tdxPanel);
|
setActiveWidget(tdxPanel);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -379,7 +379,11 @@ public class MainBox extends TabPanel {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(TabResource result) {
|
public void onSuccess(TabResource result) {
|
||||||
|
if (result != null) {
|
||||||
addContentTDXPanel(tabularResourceDataView, result);
|
addContentTDXPanel(tabularResourceDataView, result);
|
||||||
|
} else {
|
||||||
|
Log.debug("No tabular resource In Session");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue