Project

General

Profile

Revision 571fd2fc

ID571fd2fc71f606d9251903915e80500bbce61a12
Parent f65345c7
Child 637e9cfa

Added by Andreas Kohlbecker over 2 years ago

ref #6169 fixing bug in ToOneRelatedEntityCombobox: initial selection was always null

View differences:

src/main/java/eu/etaxonomy/vaadin/component/ToOneRelatedEntityCombobox.java
12 12
import org.vaadin.viritin.fields.LazyComboBox.FilterableCountProvider;
13 13
import org.vaadin.viritin.fields.LazyComboBox.FilterablePagingProvider;
14 14

  
15
import com.vaadin.data.Property;
15 16
import com.vaadin.data.fieldgroup.FieldGroup;
17
import com.vaadin.data.util.converter.Converter.ConversionException;
16 18
import com.vaadin.server.FontAwesome;
17 19
import com.vaadin.ui.Button;
18 20
import com.vaadin.ui.Button.ClickListener;
......
139 141
    }
140 142

  
141 143

  
144
    /**
145
     * {@inheritDoc}
146
     */
147
    @Override
148
    public void setValue(V newFieldValue) throws com.vaadin.data.Property.ReadOnlyException, ConversionException {
149
        lazySelect.setValue(newFieldValue);
150
    }
151

  
152
    @Override
153
    public void setPropertyDataSource(Property newDataSource) {
154
        lazySelect.setPropertyDataSource(newDataSource);
155
    }
156

  
157
    /**
158
     * {@inheritDoc}
159
     */
160
    @Override
161
    public Property getPropertyDataSource() {
162
        return lazySelect.getPropertyDataSource();
163
    }
164

  
165

  
142 166

  
143 167
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)