summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-01-29 15:43:08 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-01-29 15:43:08 +0000
commit8117479f1f253831c9e608dbe398aacd52c8265a (patch)
treee2d61b4bd7cf74a12bdd843c5f3b5b82c1605b84 /src
parentb3091a71942e21a49c82ff8b0f7280ba30416aae (diff)
downloadvaadin-framework-8117479f1f253831c9e608dbe398aacd52c8265a.tar.gz
vaadin-framework-8117479f1f253831c9e608dbe398aacd52c8265a.zip
Def resolution of one day set
svn changeset:355/svn branch:toolkit
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureDateField.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureDateField.java b/src/com/itmill/toolkit/demo/features/FeatureDateField.java
index 8f6abf4ad4..5695eba556 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureDateField.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureDateField.java
@@ -90,7 +90,7 @@ public class FeatureDateField extends Feature {
"Minute",
"Second",
"Millisecond" });
- ap.setValue(DateField.RESOLUTION_DAY);
+ ap.getField("resolution").setValue(new Integer(DateField.RESOLUTION_DAY));
Select themes = (Select) p.getField("style");
themes
.addItem("text")
@@ -101,7 +101,6 @@ public class FeatureDateField extends Feature {
.getItemProperty(themes.getItemCaptionPropertyId())
.setValue("calendar");
p.addProperties("DateField Properties", ap);
- themes.setValue("calendar");
l.addComponent(p);
return l;