-
Notifications
You must be signed in to change notification settings - Fork 105
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
Access ViewModel #78
Comments
In der aktuellen Implementierung des DI-mechanismus kann es passieren, dass das ViewModel für FxmlViews doppelt injekted wird: Wenn der User sich aus der DI-Facade eine Controller-Instanz holt hat diese bereits ein ViewModel injekted. |
…n existing instance of the codeBehind is set to the ViewLoader.
…f a given View. This way we can now set the ViewModel in the loaded ViewTuple
Durch den Wechsel von einem getter auf Annotationen in der view, um das ViewModel zu referenzieren, hat man nach dem laden einer view über den ViewLoader bzw. ViewTuple, keine Möglichkeit, das ViewModel zu referenzieren. Workaround ist, einen getter auf das ViewModel in der View zu erstellen.
Soll: ViewTuple hat einen getter auf das erstelle ViewModel.
The text was updated successfully, but these errors were encountered: