Browse Source

Changed datefield defaults to calendar with date resolution

svn changeset:354/svn branch:toolkit
tags/6.7.0.beta1
Joonas Lehtinen 17 years ago
parent
commit
b3091a7194
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/com/itmill/toolkit/demo/features/FeatureDateField.java

+ 2
- 0
src/com/itmill/toolkit/demo/features/FeatureDateField.java View File

@@ -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;

Loading…
Cancel
Save