Revision 5250237d
Added by Andreas Kohlbecker almost 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/component/common/GeoLocationField.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
import eu.etaxonomy.cdm.model.location.Point; |
28 | 28 |
import eu.etaxonomy.cdm.vaadin.component.TextFieldNFix; |
29 |
import eu.etaxonomy.cdm.vaadin.util.converter.IntegerConverter; |
|
29 | 30 |
import eu.etaxonomy.vaadin.component.CompositeCustomField; |
30 | 31 |
|
31 | 32 |
/** |
... | ... | |
74 | 75 |
protected Component initContent() { |
75 | 76 |
super.setPrimaryStyleName(PRIMARY_STYLE); |
76 | 77 |
|
78 |
errorRadiusField.setConverter(new IntegerConverter()); |
|
79 |
|
|
77 | 80 |
GridLayout root = new GridLayout(); |
78 | 81 |
root.setRows(2); |
79 | 82 |
root.setColumns(3); |
Also available in: Unified diff
using IntegerConverter for Geolocation.errorRadius field