edvin
01/31/2017, 2:57 PMfx: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.