Scene Builder fails to open .fxml files that use the resources attribute of fx:include.

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 7u40
    • Component/s: javafx
    • Environment:

      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

            Assignee:
            Unassigned
            Reporter:
            Ryan J (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: