final MinMaxNumberField<Integer> yearField = new RequiredMinMaxNumberField<Integer>(InputPanel.WICKET_ID, new PropertyModel<Integer>(
data, "year"), 1900, 2100).setConverter(new IntegerConverter(4));
fs.add(yearField);
WicketUtils.setReadonly(yearField);
final MinMaxNumberField<Integer> monthField = new RequiredMinMaxNumberField<Integer>(InputPanel.WICKET_ID,
new PropertyModel<Integer>(data, "month"), 0, 11).setConverter(new MonthConverter());
fs.add(monthField);
WicketUtils.setReadonly(monthField);
}
{
// Satznr.