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 173212

Summary: distinguish JSF1.2 and Facelets "JSF from entity" wizards
Product: javaee Reporter: David Konecny <dkonecny>
Component: JSFAssignee: David Konecny <dkonecny>
Status: RESOLVED WONTFIX    
Severity: blocker CC: alexeybutenko, chase, pjiricka
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Konecny 2009-09-28 21:32:13 UTC
from offline discussion:

"However, if you right-click in the project and select New->JSF Pages From Entity Class it may or may not be the right
wizard. We definitely need to distinguish them in the UI. I suggest JSF 1.2 Pages From Entity Class and JSF 2.0 Pages
From Entity Class. Another possibility: Facelets 2.0 Pages From Entity Class."
Comment 1 David Konecny 2009-11-04 22:37:22 UTC
Too late now for NB68 as we are past UI freeze.
Comment 2 Petr Jiricka 2010-07-12 15:37:32 UTC
Are you talking about the case when JSF framework is already added to the project, or when is not added yet? 

If it's added, the wizard should just respect the version of JSF (and the page language) used in the project (btw this does not work, see bug 188602). 

If it's not added yet, the user should be able to choose. But I am not sure if having a separate wizard is the best way to let the user choose. Wouldn't it be better to allow the user to specify the JSF version (+ exact library to use, + page language) from within the wizard?
Comment 3 David Konecny 2010-07-13 00:50:56 UTC
I filed this on behalf of chase@nb.org as result of our discussion. I think that reason for this issue is because of underlying problem described in issue 188602 - one wizard generates two very different results and user has hard time to understand why. First case is Facelets code with EJBs in web application - it requires EE6. Second case is JSP code which is generated in all other cases. Splitting wizard into two would make it clear, but I wonder if there are different solutions, eg. inform user on first wizard panel what is going to be generated and why (that is because of version of EE user will get either facelets or jsp). What do you think?
Comment 4 Martin Balin 2016-07-07 08:53:05 UTC
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