Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096760

Scene Builder 2.0 b11 fails with FXML that has a fx:include

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • Windows 7 64-bit

      The document loads, but there is a "caution" icon overlaid on the node that is fx:included.

      Hovering shows an error message that is black on dark grey and hard to read... something about UNRESOLVED_LOCATION and the included filename.

      The file being included opens fine in SB 2.0, and the parent FXML opens file in SB 1.1.

      The file being included is in the same directory as the main FXML that I load into SB.
      The include line is:

      <fx:include fx:id="pluginsFilterPanel" source="pluginsFilterPanel.fxml" VBox.vgrow="ALWAYS" />

      It also shows the wrong icon for the included node (VBox icon instead of AnchorPane).
      The context menu does not appear no matter where in SB I right-click.
      All of the TitledPanes in Scene Builder's UI fail to expand/collapse (arrow rotates but nothing else happens).

      Basically this puts SB into a broken state.

            yjoan Yves Joan (Inactive)
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: