This content has been marked as final. Show 3 replies
I am having the same problem. ...
Somehow, JAVAFX doesn't let me assign a String variable to the SOURCE-attribute of an FXML-include.
Any idea, why?
The source attribute of a fx:include element is a meta-attribute (it is defined by fx:include) - and you can't use expressions etc... in meta attributes.
(that's also why you don't need the @ tag there).
hope this helps,
So, if I understand you correctly, meta attributes can't be modified outside of the FXML file?
And for other people, who were facing the same problem... A solution that worked for me can be found here: