]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed # 2612: Removed one of the form examples from Sampler
authorArtur Signell <artur.signell@itmill.com>
Mon, 23 Feb 2009 09:47:44 +0000 (09:47 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 23 Feb 2009 09:47:44 +0000 (09:47 +0000)
http://dev.itmill.com/ticket/2612

svn changeset:6933/svn branch:trunk

src/com/itmill/toolkit/demo/sampler/FeatureSet.java
src/com/itmill/toolkit/demo/sampler/features/form/FormBasic.java

index 5e5c3747dd6e3128c91ddd8763f288914ab8859e..6de029b80742990da14492118ff0a531983c9b0e 100644 (file)
@@ -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(), //
                     });
         }
     }
index 8b02dd7c4522da97050775b7c4c7ea62b050cdd1..ccb036ea994b05bd9554f53cca8b251c0f3b3efa 100644 (file)
@@ -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