diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 15:55:49 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 15:55:49 +0000 |
commit | edac22e5ecf1d167830c0347d6a759cb36b137af (patch) | |
tree | 5d4cf3224716cde70f85601a8cf322c714913cd0 /src | |
parent | 8117479f1f253831c9e608dbe398aacd52c8265a (diff) | |
download | vaadin-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.java | 3 |
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); |