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.

Bug 236821

Summary: Add Template for FXML with Dynamic Root (fx:root)
Product: javafx Reporter: maxnitribitt <maxnitribitt>
Component: ProjectAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description maxnitribitt 2013-10-07 08:08:15 UTC
FXML files can either specify a controller or use a dynamic root Node that is set using the FXMLLoader as explained here:
http://docs.oracle.com/javafx/2/fxml_get_started/custom_control.htm

NetBeans has a Template for the first case, but not for the second. 

e(fx)clipse has a CheckBox in it's FXML-File-Dialog that allows to select if you want to use a "dynamic root (fx:root)". I think NetBeans should also support that, or have a second Template for that use case.