Details
-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
7u40
Description
I'm confused whether there is a way to do declarative (bidirectional-) databinding from the FXML to the controller.
I saw this ticket: https://javafx-jira.kenai.com/browse/RT-17646
and tried
<Label prefWidth="200.0" text="#{test}"/>
Now I'm getting this exception:
javafx.fxml.LoadException: Bi-directional binding is not enabled.
I looked into the code of the FXMLLoader and saw that there has to be an System Property to be set. How to handle this situation?
If there is no official way to do this right now, than this is a feature request for doing this, otherwise please tell me how to do it.
I saw this ticket: https://javafx-jira.kenai.com/browse/RT-17646
and tried
<Label prefWidth="200.0" text="#{test}"/>
Now I'm getting this exception:
javafx.fxml.LoadException: Bi-directional binding is not enabled.
I looked into the code of the FXMLLoader and saw that there has to be an System Property to be set. How to handle this situation?
If there is no official way to do this right now, than this is a feature request for doing this, otherwise please tell me how to do it.
Attachments
Issue Links
- duplicates
-
JDK-8090665 Add declarative bi-directional binding support to FXML
-
- Open
-