FXML: Default root instantiation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: javafx
    • None
    • Environment:

      fb8.0 b65

      When you use fx:root in FXML and later don't provide root in code, it creates default root element. This behavior isn't documented. introduction_to_fxml has a statement: "As mentioned earlier, the <fx:root> tag creates a reference to a previously defined root element." And nothing for case when root wast'n provided. I think this case must be documented.

        1. LateRoot.tar
          420 kB
          Aleksandr Sakharuk

            Assignee:
            Tomáš Brandalík (Inactive)
            Reporter:
            Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: