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 6e76758..25a8e35 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 @@ -205,6 +205,7 @@ public class TabularResourceProperties extends FramedPanel { validField = new CheckBox(); validField.setValue(false); validField.setReadOnly(true); + validField.setEnabled(false); layoutTabularResource.add(new FieldLabel(validField, "Valid"), new VerticalLayoutData(1, -1, new Margins(0))); @@ -380,10 +381,12 @@ public class TabularResourceProperties extends FramedPanel { validField.setValue(tabResource.isValid()); if (tabResource.isFinalized()) { finalizedField.setReadOnly(true); + finalizedField.setEnabled(false); finalizedField.setValue(true); saveButton.setEnabled(false); } else { finalizedField.setReadOnly(false); + finalizedField.setEnabled(true); finalizedField.setValue(false); saveButton.setEnabled(true); }