-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject @FXMLLoader with a qualifier to bind it to a specific view #75
Comments
Why don't you directly inject |
Maybe it is not a good example what I provide. What I mean is to create a new view and not use the existing instance in It could be better define different annotation and not to use
|
I'll have a look next ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, one can use
@FxView
on a controller to link resources (fxml, css, bundles) to it which will be constructed on startup. Then injectFxViewRepository
to access it, something like:or inject
FXMLLoader
to load the view on demand:It would be nice to be able to inject
FXMLLoader
and bind it to a view using a qualifier (making @FxView a qualifier?), something like:The text was updated successfully, but these errors were encountered: