Change-Id: I5c18ec975c99bda4b44492252eefe34c307b34datags/7.0.0.beta11
@@ -60,6 +60,7 @@ public abstract class AbstractNestedFormExample extends TestBase { | |||
if (event.getProperty().getValue() != null) { | |||
personForm = new NestedPersonForm((Person) event | |||
.getProperty().getValue(), embeddedAddress); | |||
personForm.setFooter(null); | |||
personForm.setWidth("350px"); | |||
addComponent(personForm); | |||
} |
@@ -45,6 +45,7 @@ public class BooleanFieldExample extends TestBase { | |||
layout.setMargin(true); | |||
final Form form = new Form(); | |||
form.setFooter(null); | |||
form.setFormFieldFactory(new DefaultFieldFactory() { | |||
@Override | |||
public Field createField(Item item, Object propertyId, |
@@ -88,6 +88,7 @@ public class DateFieldInSubWindow extends AbstractTestCase { | |||
CustomerFieldFactory fieldFactory = new CustomerFieldFactory(); | |||
final Form generalForm = new Form(); | |||
{ | |||
generalForm.setFooter(null); | |||
generalForm.setCaption("My form"); | |||
generalForm.setBuffered(false); | |||
generalForm.setFormFieldFactory(fieldFactory); |
@@ -38,6 +38,7 @@ public class FormClearDatasourceRepaint extends TestBase { | |||
protected void setup() { | |||
final Form form = new Form(); | |||
form.setFooter(null); | |||
form.setItemDataSource(new BeanItem<MySecondBean>(new MySecondBean())); | |||
addComponent(form); | |||
@@ -26,6 +26,7 @@ public class FormCommitWithInvalidValues extends TestBase { | |||
@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); |
@@ -20,6 +20,7 @@ public class UndefinedHeightSubWindowAndContent extends TestBase { | |||
subWindow.setContent(layout); | |||
final Form form = new Form(); | |||
form.setFooter(null); | |||
form.setImmediate(true); | |||
form.setValidationVisible(true); | |||
form.setCaption("This is a form"); |
@@ -55,6 +55,7 @@ public class EmptyFieldErrorIndicators extends TestBase { | |||
part.setMargin(true); | |||
final Form form = createForm(required, failValidator); | |||
form.setFooter(null); | |||
part.addComponent(form); | |||
Button validate = new Button("Validate fields"); |