// add(new DateTimeField("dateProperty"));
add(new TextField("dateProperty", Date.class).add(new DatePicker()));
add(new RequiredTextField("integerInRangeProperty").add(NumberValidator.range(0, 100)));
add(new CheckBox("booleanProperty"));
add(new Multiply("multiply"));
// display the multiply result
Label multiplyLabel = new Label("multiplyLabel", new PropertyModel(getModel(),
"multiply"));
// just for fun, add a border so that our result will be displayed