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