Revision ecb93813
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPopupEditor.java | ||
---|---|---|
44 | 44 |
import com.vaadin.ui.themes.ValoTheme; |
45 | 45 |
|
46 | 46 |
import eu.etaxonomy.cdm.database.PermissionDeniedException; |
47 |
import eu.etaxonomy.cdm.vaadin.component.TextFieldNFix; |
|
47 | 48 |
import eu.etaxonomy.vaadin.component.NestedFieldGroup; |
48 | 49 |
import eu.etaxonomy.vaadin.component.SwitchableTextField; |
49 | 50 |
import eu.etaxonomy.vaadin.mvp.event.EditorDeleteEvent; |
... | ... | |
319 | 320 |
|
320 | 321 |
|
321 | 322 |
protected TextField addTextField(String caption, String propertyId) { |
322 |
return addField(new TextField(caption), propertyId); |
|
323 |
return addField(new TextFieldNFix(caption), propertyId);
|
|
323 | 324 |
} |
324 | 325 |
|
325 | 326 |
protected TextField addTextField(String caption, String propertyId, int column1, int row1, |
326 | 327 |
int column2, int row2) |
327 | 328 |
throws OverlapsException, OutOfBoundsException { |
328 |
return addField(new TextField(caption), propertyId, column1, row1, column2, row2); |
|
329 |
return addField(new TextFieldNFix(caption), propertyId, column1, row1, column2, row2);
|
|
329 | 330 |
} |
330 | 331 |
|
331 | 332 |
protected TextField addTextField(String caption, String propertyId, int column, int row) |
332 | 333 |
throws OverlapsException, OutOfBoundsException { |
333 |
return addField(new TextField(caption), propertyId, column, row); |
|
334 |
return addField(new TextFieldNFix(caption), propertyId, column, row);
|
|
334 | 335 |
} |
335 | 336 |
|
336 | 337 |
protected SwitchableTextField addSwitchableTextField(String caption, String textPropertyId, String switchPropertyId, int column1, int row1, |
Also available in: Unified diff
fixing ugly 'null' representation in vaadin TextField