This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Using New File > JavaFX > Empty FXML wizard and choosing Use Java Controller > Generate new one we see the following issues: * the name of the Controller class does not contain the package name. It should. * the generated FXML fx:controller attribute value is not full class name. It should. Also, the various wizard windows have truncated labels: "FXML Na...", "Controller...", "CSS File Na..."
partial fix in jetmain, fixed fx:controller and recreated labels + added missing dialog pane titles: http://hg.netbeans.org/jet-main/rev/274273289a64
Integrated into 'main-golden', will be available in build *201205030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/274273289a64 User: Petr Somol <psomol@netbeans.org> Log: #209803 - fx:controller now set to full name, plus added missing wizard panel titles
improved fix to work with both new and existing controllers: http://hg.netbeans.org/jet-main/rev/422c37937d82
The two fixes provided in Comments 1 and 3 deal with the most serious problem addressed in this issue - the incorrect naming of controller class in the generated FXML, which prevents the FXML file from being loaded. To enable separate tracking of the less serious items reported originally in this issue, I created issue 212020 and moved them there.
verified in trunk
transplanted fixes from Comment 1 and 3 to release72_beta branch: http://hg.netbeans.org/releases/rev/1021383603a5 http://hg.netbeans.org/releases/rev/c7ec89d8c4da
Integrated into 'releases', will be available in build *201205031832* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1021383603a5 User: Petr Somol <psomol@netbeans.org> Log: #209803 - fx:controller now set to full name, plus added missing wizard panel titles
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/422c37937d82 User: Petr Somol <psomol@netbeans.org> Log: #209803 improved fix to work with both new and existing controller classes
Integrated into 'releases', will be available in build *201210100002* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1021383603a5 User: Petr Somol <psomol@netbeans.org> Log: #209803 - fx:controller now set to full name, plus added missing wizard panel titles