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

fxml controller rename does not update reference in xxx.fxml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              errael Ernie Rael
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: