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 254048 - NetBeans changes JSF preferred page language against my will
Summary: NetBeans changes JSF preferred page language against my will
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-08-01 03:10 UTC by MackSix
Modified: 2015-08-14 12:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-08-01 03:10:33 UTC
1. Create a Maven JSF project using Tomcat 8.0.22
2. Add the JSF 2.2.11 dependency in the POM
3. Goto project properties and select the Tomcat 8.0.22 server.
4. Goto project properties->Frameworks->Configuration->Preferred page language and choose Facelets and click OK.
5. Go back to properties->Frameworks->Configuration->Preferred page language and look and see that it shows Facelets and then click OK.
6. Repeat step 5, but notice the Configuration changed back to JSP.

Results: Configuration was changed to JSP although Facelets was selected. 

Product Version: NetBeans IDE 8.1 Beta (Build 201507302201)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2015-08-01 03:24:25 UTC
This even happens when I click the Cancel button or the red X.
Comment 2 MackSix 2015-08-14 12:17:31 UTC
In regards to comment 0, you may have to add a web.xml configured for JSF if one is not created.