Form form = new Form();
form.addFields(
new ShortTextField("firstName", "First Name"),
new ShortTextField("lastName", "Last Name"),
new IntegerField("age", "Age"),
new ShortTextField("email", "Email").setValidators(Validators.email()),
new ShortTextField("address.street", "Street"),
new ShortTextField("address.city", "City"),
new ShortTextField("address.country", "Country")
);