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.
1. Create a Java EE 6 Web Project 2. Go to File -> New File You see the following template categories: Java Card 3 Platform: should not be there, as none of these templates can be used in web project Java FX: these can be created, but probably don't make sense in a web project, and the project is misconfigured and uncompilable after they are created The same problem exists for Maven project, will file a separate bug report.
Filed bug 203209 for Maven.
I think the problem is that JavaCard and JavaFX wizards do not specify <attr name="templateCategory" stringvalue=".....some value....."/> attribute on its templates and NB must always show them (for backward compatibility perhaps?). Just create your own category and then specify it via implementation of RecommendedTemplates. See org.netbeans.modules.web.project.WebProject.RecommendedTemplatesImpl class for example. Once you fix it please pass the issue to JavaFX team. Thx.
David could you clarified this to me a little? I've created my own implementation of Recommended and Privileged templates and there is no JavaFX template registration. But it still can be seen in file creation wizard - so what should be done on my side to fix that? Java Card 3 Platform is not shown at all - maybe it has been already fixed by someone else?
My recommendation was for JavaCard module owner (to whom I assigned this issue) to fix it and then pass it to JavaFX. I do not think you can fix it in Maven Martin.
I would classify this as a "critical usability problem", i.e. a P2 defect according to http://wiki.netbeans.org/BugPriorityGuidelines. Should be fixed for NB 7.2 (not necessarily for 7.1).
fixed for javafx and javacard in jet-main: http://hg.netbeans.org/jet-main/rev/c19af363f511
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c19af363f511 User: Anton Chechel <manowar@netbeans.org> Log: #203208: unsuitable templates of javafx and javacard
Marian, that's not 71_HR_FIX_CANDIDATE. This is for 7.2.