|| (text.matches(restictTo) && (getText() == null || getText()
.length() < maxChars));
}
};
// POJO binding magic...
personPA.bindBidirectional(path, tf.textProperty());
ctrl = tf;
} else if (controlType == CalendarTextField.class) {
final CalendarTextField ctf = new CalendarTextField();
personPA.bindBidirectional(path, ctf.calendarProperty(),
Calendar.class);