Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4789

fxml controller rename does not update reference in xxx.fxml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      To recreate

      • NewProject > JavaWithMaven > FXML JavaFX Maven Archetype (Gluon)
      • Open PrimaryController.java and primary.fxml
        Observe in primary.fxml the reference, note that line is without error
        fx:controller="com.raelity.play.jfx.fxml1.PrimaryController"
      • In PrimaryController.java, Refactor>Rename the class (stay in same package)
        Observe in primary.fxml that the reference is not updated
        (Also notice that the editor now flags that line as an error)

      Attachments

        Activity

          People

            Unassigned Unassigned
            errael Ernie Rael
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: