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;
"The Form -component provides a convenient way to organize"
+ " related fields visually.", new Feature[] {
//
- new FormBasic(), //
- new FormPojo(), //
+ new FormBasic(), //
});
}
}
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