Project

General

Profile

Revision bea4aa93

IDbea4aa93cf4cca85654bc8ed2c8827f6371fb2d9
Parent 8a6e2f9a
Child 9bb42d8a

Added by Patrick Plitzner about 5 years ago

ref #5458 label for null selection (remove status)

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/DistributionTableView.java
143 143
                    final ListSelect termSelect = new ListSelect();
144 144
                    termSelect.setSizeFull();
145 145
                    termSelect.setContainerDataSource(PresenceAbsenceTermContainer.getInstance());
146
                    termSelect.setNullSelectionAllowed(true);
146
                    termSelect.setNullSelectionAllowed(presenceAbsenceTerm!=null);
147
                    if(presenceAbsenceTerm!=null){
148
                    	termSelect.setNullSelectionItemId("[no status]");
149
                    }
147 150
                    termSelect.setValue(presenceAbsenceTerm);
148 151
                    termSelect.addValueChangeListener(new ValueChangeListener() {
149 152
						

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)