Revision 87bbccd4
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/ListPresenter.java | ||
---|---|---|
303 | 303 |
*/ |
304 | 304 |
private void setSelectValue(AbstractSelect select, Set<?> itemsToChoose) { |
305 | 305 |
|
306 |
for(Object item : select.getContainerDataSource().getItemIds()){ |
|
307 |
if(item != null){ |
|
308 |
if(itemsToChoose.contains(item)){ |
|
309 |
select.select(item); |
|
306 |
if(itemsToChoose != null){ |
|
307 |
for(Object item : select.getContainerDataSource().getItemIds()){ |
|
308 |
if(item != null){ |
|
309 |
if(itemsToChoose.contains(item)){ |
|
310 |
select.select(item); |
|
311 |
} |
|
310 | 312 |
} |
311 | 313 |
} |
312 | 314 |
} |
Also available in: Unified diff
fix #7535 TeamOrPersonField and PersonField without OK button