// Setup customers form
FieldSet fieldSet = new FieldSet("customer");
fieldSet.add(new TextField("name")).setRequired(true);
fieldSet.add(new EmailField("email")).setRequired(true);
fieldSet.add(new InvestmentSelect("investments")).setRequired(true);
fieldSet.add(new DoubleField("holdings"));
DateField dateJoined = new DateField("dateJoined");
dateJoined.setDate(new Date());
fieldSet.add(dateJoined);
customerForm.add(fieldSet);
customerForm.add(new Submit("add", "Add Customer", this, "onAddClick"));