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.
I am working in a web projects using the Wicket framework: http://wicket.sourceforge.net It stipulates that the UI is in a separate HTML file and all the code is in a corresponding Java class with the same name. Both are supposed to be in the SAME FOLDER (i.e. in the source packages). However, when adding a new HTML file the wizard only allows me to put it into a folder under Web Pages. So I have to add it in Web Pages and then manually move it to the proper source package. It would be great if the Add new HTML file Wizard would allow you to create it in a source folder as well. thanks.
There is one more HTML wizard in which you can specify the file location. New File -> Other -> HTML File.
IMO it is confusing to have two HTML wizards -> changing to enhancement.
We can slightly change the current behavior for external source roots. The location combo box would behave according to the project type (values in the combo box): ----- 1. Web project (WebApplication) with no external source root: Location: Web Pages - selected by default WebApplication 2. Web project with 1 external source root: Location: Web Pages WebApplication C:\path\external\root 3. Java, Ejb, Ear project with no external source root: Location combo is not present (the current behavior). 4. Java, Ejb, Ear project with 1 external source root: Location: JavaApplication C:\path\external\root ----- Note that we could also improve behavior of the tree chooser opened up by the Browse button. There would be a root node for each of root location present in the location combo box. Sometimes you might overlook the location combo choices, but in the tree chooser you would notice.
Also, if we implement 1 HTML wizard, we should either do the same thing with the XHTML wizard, or just put the xml - standard syntax choice into the HTML wizard and get rid of the separate XHTML template.
Partial fix - source roots are available in Web/HTML wizard Checking in wizards/TargetChooserPanel.java; /cvs/web/core/src/org/netbeans/modules/web/wizards/TargetChooserPanel.java,v <-- TargetChooserPanel.java new revision: 1.1.36.1; previous revision: 1.1 done Checking in wizards/TargetChooserPanelGUI.java; /cvs/web/core/src/org/netbeans/modules/web/wizards/TargetChooserPanelGUI.java,v <-- TargetChooserPanelGUI.java new revision: 1.1.16.2.2.1; previous revision: 1.1.16.2 done Checking in wizards/PageIterator.java; /cvs/web/core/src/org/netbeans/modules/web/wizards/PageIterator.java,v <-- PageIterator.java new revision: 1.1.16.2.2.1; previous revision: 1.1.16.2 done Checking in wizards/FileType.java; /cvs/web/core/src/org/netbeans/modules/web/wizards/FileType.java,v <-- FileType.java new revision: 1.1.36.1; previous revision: 1.1 done Checking in wizards/Bundle.properties; /cvs/web/core/src/org/netbeans/modules/web/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.1.16.2.2.2; previous revision: 1.1.16.2.2.1 done Checking in core/Bundle.properties; /cvs/web/core/src/org/netbeans/modules/web/core/Bundle.properties,v <-- Bundle.properties new revision: 1.45.52.1; previous revision: 1.45 done Checking in core/resources/layer.xml; /cvs/web/core/src/org/netbeans/modules/web/core/resources/layer.xml,v <-- layer.xml new revision: 1.81.4.3.2.1; previous revision: 1.81.4.3 done
*** Issue 76451 has been marked as a duplicate of this issue. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss