Project

General

Profile

« Previous | Next » 

Revision f9fb33d5

Added by Andreas Kohlbecker about 6 years ago

fix #7246 consitent implementation of LazySelect reloading of modified entity beans:

  • ReloadableSelect interface for select fields which support reloading the selected value from the persitent storage
  • EntitySupport interface to ship around equality problems of enitites which have modified data

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferenceEditorPresenter.java
166 166
       if(event.getPopup().equals(inReferencePopup)){
167 167
           if(event.getReason().equals(Reason.SAVE)){
168 168
               Reference bean = inReferencePopup.getBean();
169
               getView().getInReferenceCombobox().selectNewItem(bean);
169
               getView().getInReferenceCombobox().reload(); //refreshSelectedValue(bean);
170 170
           }
171 171
           if(event.getReason().equals(Reason.DELETE)){
172 172
               getView().getInReferenceCombobox().selectNewItem(null);

Also available in: Unified diff