[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    FXML Patterns / best practices
From:       greg.x.brown () oracle ! com (Greg Brown)
Date:       2012-02-27 18:21:01
Message-ID: C58B53A0-FBFA-44EB-858E-9197F3CCD95C () oracle ! com
[Download RAW message or body]

> I would like to second what Werner wrote. In my programs, since the controller is \
> created, I can't inject dependencies and instead wind up wrapping them with an \
> adapter that I call a "module" (makes sense for my app at least). 

FYI - in JavaFX 2.1, you can use a controller factory to get more control over the \
controller instantiation process. The ability to set the controller directly on the \
loader would simply be a third option.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic