-
Bug
-
Resolution: Won't Fix
-
P4
-
7u40
-
Windows 8.1 64 bit, JDK 7u25 32 bit.
When using the resources attribute of fx:include to specify i18n resources for a nested view, Scene Builder will fail to load the main .fxml file. It fails with a MissingResourceException. After working around a related issue (https://javafx-jira.kenai.com/browse/RT-33764), the same application that fails to load in Scene Builder will compile and run as expected.
Below is a link to a sample application that shows the issue. Try opening MainView.fxml using SceneBuilder.
https://dl.dropboxusercontent.com/u/8788282/sample-app-2.zip
A bit more information can be found in this forum post:
https://forums.oracle.com/message/11240449
I also wasn't able to find any definitive documentation for using the resources attribute. I was only able to find a brief reference to it in the fx:include section of the following documentation:
http://docs.oracle.com/javafx/2/api/javafx/fxml/doc-files/introduction_to_fxml.html#include_elements
Below is a link to a sample application that shows the issue. Try opening MainView.fxml using SceneBuilder.
https://dl.dropboxusercontent.com/u/8788282/sample-app-2.zip
A bit more information can be found in this forum post:
https://forums.oracle.com/message/11240449
I also wasn't able to find any definitive documentation for using the resources attribute. I was only able to find a brief reference to it in the fx:include section of the following documentation:
http://docs.oracle.com/javafx/2/api/javafx/fxml/doc-files/introduction_to_fxml.html#include_elements
- relates to
-
JDK-8090056 FXMLLoader sometimes passes a null ClassLoader to ResouceBundle.getBundle.
-
- Open
-