diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-01-07 17:46:56 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-01-07 17:46:56 +0200 |
commit | abeca5b8491dccef620e3f20c20e7cdf7972681c (patch) | |
tree | fda9e8b288caca82a20cf508aa29dc4702a9a2c2 /uitest/src/com/vaadin/tests | |
parent | 95316ca5cc7dd60adf5d317de2d815909faa0712 (diff) | |
download | vaadin-framework-abeca5b8491dccef620e3f20c20e7cdf7972681c.tar.gz vaadin-framework-abeca5b8491dccef620e3f20c20e7cdf7972681c.zip |
Fix DateFormat for Editor tests as well
Change-Id: Ice7b77ab1bcb1cdecd50fc8e480c1ca2f8dae26c
Diffstat (limited to 'uitest/src/com/vaadin/tests')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java b/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java index add9773ae1..2fccf4d7c8 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java @@ -98,6 +98,8 @@ public class GridThemeUI extends AbstractTestUIWithLog { getColumn("age").getEditorField().addValidator( new IntegerRangeValidator("Must be between 0 and 100", 0, 100)); + getColumn("birthDate").setRenderer( + new DateRenderer(DateFormat.getDateInstance())); } } |