diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 15:37:29 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 15:37:29 +0000 |
commit | b3091a71942e21a49c82ff8b0f7280ba30416aae (patch) | |
tree | eae11ce53d130c994ce5a72fd690be3b5ea0957f /src/com | |
parent | 8385dfce5fbf01935975a218c1c736a7119519c7 (diff) | |
download | vaadin-framework-b3091a71942e21a49c82ff8b0f7280ba30416aae.tar.gz vaadin-framework-b3091a71942e21a49c82ff8b0f7280ba30416aae.zip |
Changed datefield defaults to calendar with date resolution
svn changeset:354/svn branch:toolkit
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/itmill/toolkit/demo/features/FeatureDateField.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureDateField.java b/src/com/itmill/toolkit/demo/features/FeatureDateField.java index 52b7113829..8f6abf4ad4 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureDateField.java +++ b/src/com/itmill/toolkit/demo/features/FeatureDateField.java @@ -90,6 +90,7 @@ public class FeatureDateField extends Feature { "Minute", "Second", "Millisecond" }); + ap.setValue(DateField.RESOLUTION_DAY); Select themes = (Select) p.getField("style"); themes .addItem("text") @@ -100,6 +101,7 @@ public class FeatureDateField extends Feature { .getItemProperty(themes.getItemCaptionPropertyId()) .setValue("calendar"); p.addProperties("DateField Properties", ap); + themes.setValue("calendar"); l.addComponent(p); return l; |