Revision d7ad25d9
Added by Katja Luther over 2 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/TeamMemberElement.java | ||
---|---|---|
40 | 40 |
this, "Person", null, |
41 | 41 |
EntitySelectionElement.EDITABLE | EntitySelectionElement.SELECTABLE, |
42 | 42 |
style); |
43 |
if (entity != null){ |
|
44 |
setEntity(entity); |
|
45 |
} |
|
43 | 46 |
} |
44 | 47 |
|
45 | 48 |
@Override |
46 | 49 |
public void setEntity(Person entity) { |
47 | 50 |
this.entity = entity; |
48 |
selection_person.setEntity(entity); |
|
51 |
if (selection_person != null){ |
|
52 |
selection_person.setEntity(entity); |
|
53 |
} |
|
49 | 54 |
} |
50 | 55 |
|
51 | 56 |
@Override |
Also available in: Unified diff
ref #9838: change order of ui element creation and setting entity in collection elements