-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Is ControllerLookup still a relevant feature?
As fx-guice is now targeting JavaFX8, and thus supports all features introduced in JavaFX2.2, it also supports getting access to child-controllers as follows:
<VBox fx:controller="com.foo.MainController">
...
<fx:include fx:id="dialog" source="dialog.fxml"/>
...
</VBox>
public class MainController extends Controller {
@FXML private Window dialog;
@FXML private DialogController dialogController;
...
}
(source: http://docs.oracle.com/javafx/2/fxml_get_started/whats_new2.htm)
For me, it seems best to remove this class, as - to be useful-, it relies on ParentID, which is broken in JavaFX8.