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 - Add Template for FXML with Dynamic Root (fx:root)
Summary: Add Template for FXML with Dynamic Root (fx:root)
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-07 08:08 UTC by maxnitribitt
Modified: 2013-10-07 08:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.