diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-02-23 09:47:44 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-02-23 09:47:44 +0000 |
commit | 7276c1d9aa6a78098f562fa40af12cc8a7567d94 (patch) | |
tree | f771a6e0b899454b5cde09acb919f323ddeb0a94 | |
parent | 20f52312c9a736e53bb454ed536da6e99a724956 (diff) | |
download | vaadin-framework-7276c1d9aa6a78098f562fa40af12cc8a7567d94.tar.gz vaadin-framework-7276c1d9aa6a78098f562fa40af12cc8a7567d94.zip |
Fixed # 2612: Removed one of the form examples from Sampler
http://dev.itmill.com/ticket/2612
svn changeset:6933/svn branch:trunk
-rw-r--r-- | src/com/itmill/toolkit/demo/sampler/FeatureSet.java | 4 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/com/itmill/toolkit/demo/sampler/FeatureSet.java b/src/com/itmill/toolkit/demo/sampler/FeatureSet.java index 5e5c3747dd..6de029b807 100644 --- a/src/com/itmill/toolkit/demo/sampler/FeatureSet.java +++ b/src/com/itmill/toolkit/demo/sampler/FeatureSet.java @@ -21,7 +21,6 @@ import com.itmill.toolkit.demo.sampler.features.dates.DateLocale; import com.itmill.toolkit.demo.sampler.features.dates.DatePopup; import com.itmill.toolkit.demo.sampler.features.dates.DateResolution; import com.itmill.toolkit.demo.sampler.features.form.FormBasic; -import com.itmill.toolkit.demo.sampler.features.form.FormPojo; import com.itmill.toolkit.demo.sampler.features.layouts.ApplicationLayout; import com.itmill.toolkit.demo.sampler.features.layouts.CustomLayouts; import com.itmill.toolkit.demo.sampler.features.layouts.ExpandingComponent; @@ -296,8 +295,7 @@ public class FeatureSet extends Feature { "The Form -component provides a convenient way to organize" + " related fields visually.", new Feature[] { // - new FormBasic(), // - new FormPojo(), // + new FormBasic(), // }); } } diff --git a/src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java b/src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java index 8b02dd7c45..ccb036ea99 100644 --- a/src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java +++ b/src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java @@ -27,8 +27,12 @@ public class FormBasic extends Feature { public String getDescription() { return "A Form is most useful when connected to a data source, and" + " provides buffering and customization features to support" - + " that scenario. <br/> Enter something and try discarding" - + " or applying."; + + " that scenario. A Form can easily be used as a POJO" + + " or Bean editor by wrapping the bean using BeanItem. <br/>" + + "The basic functionality only requires a couple of lines of" + + " code, then Validators and other customizations can be " + + "applied to taste. <br/>Enter something and try discarding or " + + "applying."; } @Override |