summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-01-29 15:55:49 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-01-29 15:55:49 +0000
commitedac22e5ecf1d167830c0347d6a759cb36b137af (patch)
tree5d4cf3224716cde70f85601a8cf322c714913cd0 /src
parent8117479f1f253831c9e608dbe398aacd52c8265a (diff)
downloadvaadin-framework-edac22e5ecf1d167830c0347d6a759cb36b137af.tar.gz
vaadin-framework-edac22e5ecf1d167830c0347d6a759cb36b137af.zip
By default, use calendar style
svn changeset:360/svn branch:toolkit
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureDateField.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureDateField.java b/src/com/itmill/toolkit/demo/features/FeatureDateField.java
index 5695eba556..71302b8148 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureDateField.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureDateField.java
@@ -56,7 +56,7 @@ public class FeatureDateField extends Feature {
// Example panel
Panel show = new Panel("DateField component");
- DateField df = new DateField("Caption");
+ DateField df = new DateField();
df.setValue(new java.util.Date());
show.addComponent(df);
l.addComponent(show);
@@ -100,6 +100,7 @@ public class FeatureDateField extends Feature {
.addItem("calendar")
.getItemProperty(themes.getItemCaptionPropertyId())
.setValue("calendar");
+ df.setStyle("calendar");
p.addProperties("DateField Properties", ap);
l.addComponent(p);