Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@99538 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c7b5c3bf36
commit
8c45328c4d
|
@ -313,7 +313,8 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
dateField.setValue(tabResource.getDate());
|
dateField.setValue(tabResource.getDate());
|
||||||
typeField.setValue(tabResource.getTrId().getTabularResourceType());
|
typeField.setValue(tabResource.getTrId().getTabularResourceType());
|
||||||
rightField.setValue(tabResource.getRight());
|
rightField.setValue(tabResource.getRight());
|
||||||
|
|
||||||
|
validFromField.clear();
|
||||||
if (tabResource.getValidFrom() == null
|
if (tabResource.getValidFrom() == null
|
||||||
|| tabResource.getValidFrom().isEmpty()) {
|
|| tabResource.getValidFrom().isEmpty()) {
|
||||||
Log.debug("ValidFrom null or empty");
|
Log.debug("ValidFrom null or empty");
|
||||||
|
@ -328,7 +329,8 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
validUntilToField.clear();
|
||||||
if (tabResource.getValidUntilTo() == null
|
if (tabResource.getValidUntilTo() == null
|
||||||
|| tabResource.getValidUntilTo().isEmpty()) {
|
|| tabResource.getValidUntilTo().isEmpty()) {
|
||||||
Log.debug("ValidUntilTo null or empty");
|
Log.debug("ValidUntilTo null or empty");
|
||||||
|
@ -344,7 +346,7 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
comboLicences.reset();
|
comboLicences.clear();
|
||||||
if (tabResource.getLicence() != null
|
if (tabResource.getLicence() != null
|
||||||
&& !tabResource.getLicence().isEmpty()) {
|
&& !tabResource.getLicence().isEmpty()) {
|
||||||
List<LicenceData> listLicence = storeCombo.getAll();
|
List<LicenceData> listLicence = storeCombo.getAll();
|
||||||
|
|
Loading…
Reference in New Issue