Revision a2415b9f
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/vaadin/component/CompositeCustomField.java | ||
---|---|---|
29 | 29 |
/** |
30 | 30 |
* TODO implement height methods for full component size support |
31 | 31 |
* |
32 |
* Implementations need to override {@link AbstractField#setInternalValue(TeamOrPersonBase<?> newValue)} in order to |
|
33 |
* to set the item datasource of the fieldGroup for example: |
|
34 |
* <pre> |
|
35 |
* @Override |
|
36 |
protected void setInternalValue(TeamOrPersonBase<?> newValue) { |
|
37 |
... |
|
38 |
fieldGroup.setItemDataSource(new BeanItem<Team>((Team)newValue)); |
|
39 |
... |
|
40 |
} |
|
41 |
* </pre> |
|
42 |
* |
|
32 | 43 |
* @author a.kohlbecker |
33 | 44 |
* @since May 12, 2017 |
34 | 45 |
* |
Also available in: Unified diff
ref #7458 initial implementation of a note field at the example of the TaxonNameEditor