<@U25U0KPFT> I remember now. The ControllerFactory...
# tornadofx
e
@carlw I remember now. The ControllerFactory is only consulted if the
fx:controller
attribute is set in the FXML. If it is not, I need to call
setController(this@UIComponent)
before the FXML is loaded (requirement of JavaFX). If the
fx:controller
attribute is set, I need to install a custom ControllerFactory and return the current component as the controller. This is of course too simplistic to support nested controllers.