if (event.getProperty().getValue() != null) {
personForm = new NestedPersonForm((Person) event
.getProperty().getValue(), embeddedAddress);
+ personForm.setFooter(null);
personForm.setWidth("350px");
addComponent(personForm);
}
layout.setMargin(true);
final Form form = new Form();
+ form.setFooter(null);
form.setFormFieldFactory(new DefaultFieldFactory() {
@Override
public Field createField(Item item, Object propertyId,
CustomerFieldFactory fieldFactory = new CustomerFieldFactory();
final Form generalForm = new Form();
{
+ generalForm.setFooter(null);
generalForm.setCaption("My form");
generalForm.setBuffered(false);
generalForm.setFormFieldFactory(fieldFactory);
protected void setup() {
final Form form = new Form();
+ form.setFooter(null);
form.setItemDataSource(new BeanItem<MySecondBean>(new MySecondBean()));
addComponent(form);
@Override
protected void setup() {
form = new Form();
+ form.setFooter(null);
TextField tf = new TextField("A field, must contain 1-2 chars");
tf.addValidator(new StringLengthValidator("Invalid length", 1, 2, false));
tf.setRequired(true);
subWindow.setContent(layout);
final Form form = new Form();
+ form.setFooter(null);
form.setImmediate(true);
form.setValidationVisible(true);
form.setCaption("This is a form");
part.setMargin(true);
final Form form = createForm(required, failValidator);
+ form.setFooter(null);
part.addComponent(form);
Button validate = new Button("Validate fields");