Revision 2965ff88
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/vaadin/component/NameRelationField.java | ||
---|---|---|
111 | 111 |
setValue(null); |
112 | 112 |
updateToolBarButtonStates(); |
113 | 113 |
}); |
114 |
validatedNameComboBox.getSelect().addValueChangeListener(new ToOneRelatedEntityButtonUpdater<TaxonName>(validatedNameComboBox));
|
|
115 |
citatonComboBox.getSelect().addValueChangeListener(new ToOneRelatedEntityButtonUpdater<Reference>(citatonComboBox));
|
|
114 |
validatedNameComboBox.setNestedButtonStateUpdater(new ToOneRelatedEntityButtonUpdater<TaxonName>(validatedNameComboBox));
|
|
115 |
citatonComboBox.setNestedButtonStateUpdater(new ToOneRelatedEntityButtonUpdater<Reference>(citatonComboBox));
|
|
116 | 116 |
|
117 | 117 |
grid = new GridLayout(2, 3); |
118 | 118 |
|
Also available in: Unified diff
fix #7588 updating buttons on setDataSource