2930313233343536373839
// Add form to the page Form form = new Form("exampleForm", new CompoundPropertyModel(validationTestBean)); add(form); form.add(new YavBehavior()); form.add(new RequiredTextField("typeDate1")); form.add(new RequiredTextField("typeDate2"));