SEBSERV-155 add empty note for not selected exam supporters
This commit is contained in:
parent
94c04805e0
commit
a7de01851d
2 changed files with 8 additions and 1 deletions
|
@ -697,4 +697,11 @@ public final class Utils {
|
|||
+ Constants.DOUBLE_QUOTE;
|
||||
}
|
||||
|
||||
public static String getOrEmptyDisplayValue(final String value) {
|
||||
if (StringUtils.isBlank(value)) {
|
||||
return Constants.EMPTY_NOTE;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ public final class SelectionFieldBuilder extends FieldBuilder<String> {
|
|||
final GridData gridData = new GridData(SWT.FILL, SWT.TOP, true, true);
|
||||
|
||||
label.setLayoutData(gridData);
|
||||
label.setText((this.value != null) ? this.value : Constants.EMPTY_NOTE);
|
||||
label.setText(Constants.EMPTY_NOTE);
|
||||
if (this.label != null) {
|
||||
WidgetFactory.setTestId(label, this.label.name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue