Revision d7ad25d9
Added by Katja Luther over 2 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/SpecimenCollectionDetailElement.java | ||
---|---|---|
67 | 67 |
@Override |
68 | 68 |
public void setEntity(DerivedUnit entity) { |
69 | 69 |
this.entity = entity; |
70 |
selection_derivedUnit.setEntity(entity); |
|
70 |
if (selection_derivedUnit != null){ |
|
71 |
selection_derivedUnit.setEntity(entity); |
|
72 |
} |
|
71 | 73 |
} |
72 | 74 |
|
73 | 75 |
/* |
... | ... | |
84 | 86 |
.createSelectionElement(DerivedUnit.class,//getConversationHolder(), |
85 | 87 |
element, "Derived Unit", null, |
86 | 88 |
EntitySelectionElement.EDITABLE | EntitySelectionElement.SELECTABLE, style); |
89 |
if (entity != null){ |
|
90 |
setEntity(entity); |
|
91 |
} |
|
87 | 92 |
} |
88 | 93 |
|
89 | 94 |
/* |
Also available in: Unified diff
ref #9838: change order of ui element creation and setting entity in collection elements