Revision 2bcb1498
Added by Andreas Kohlbecker about 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/error/DelegatingErrorHandler.java | ||
---|---|---|
26 | 26 |
* see https://dev.e-taxonomy.eu/redmine/issues/7241 |
27 | 27 |
* |
28 | 28 |
* @author freimeier |
29 |
* @author a.kohlbecker |
|
29 | 30 |
* |
30 | 31 |
*/ |
31 | 32 |
public class DelegatingErrorHandler implements ErrorHandler{ |
src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferencePopupEditor.java | ||
---|---|---|
330 | 330 |
authorshipField.setVisible(fieldPropertyDefinition.containsKey("authorship")); |
331 | 331 |
String inRefCaption = fieldPropertyDefinition.get("inReference"); |
332 | 332 |
inReferenceCombobox.setVisible(inRefCaption != null); |
333 |
inReferenceCombobox.setRequired(referenceType.isSection()); |
|
333 | 334 |
if(inRefCaption != null){ |
334 | 335 |
inReferenceCombobox.setCaption(inReferenceCaption(inRefCaption)); |
335 | 336 |
} |
Also available in: Unified diff
fix #8097 inReference field required for section reference types