Revision 850f48f3
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPresenter.java | ||
---|---|---|
72 | 72 |
protected NameTypeDesignation loadBeanById(Object identifier) { |
73 | 73 |
if(identifier instanceof Integer || identifier == null){ |
74 | 74 |
return super.loadBeanById(identifier); |
75 |
// } else if(identifier instanceof TypedEntityReference && ((TypedEntityReference)identifier).getType().equals(TaxonName.class)) { |
|
76 |
// typifiedNameInContext = getRepo().getNameService().find(((TypedEntityReference)identifier).getId()); |
|
77 |
// bean = super.loadBeanById(null); |
|
75 | 78 |
} else { |
76 | 79 |
TypeDesignationWorkingsetEditorIdSet idset = (TypeDesignationWorkingsetEditorIdSet)identifier; |
77 | 80 |
RegistrationDTO regDTO = registrationWorkingSetService.loadDtoById(idset.registrationId); |
Also available in: Unified diff
ref #6740 setting typified name when no other type designations are in the registration