cb.setPromptText("Select");
cb.setPrefWidth(100d);
// POJO binding magic (due to erasure of T in
// ObjectProperty<T> of cb.valueProperty() we need
// to also pass in the choice class)
personPA.bindBidirectional(path, cb.valueProperty(),
(Class<T>) choices[0].getClass());
ctrl = cb;
} else if (controlType == ListView.class) {
ListView<T> lv = new ListView<>(
FXCollections.observableArrayList(choices));