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 212377 - Selecting PrimeFaces doesnt give errors even if its not available in Libraries
Summary: Selecting PrimeFaces doesnt give errors even if its not available in Libraries
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 11:20 UTC by sunbiz
Modified: 2012-10-12 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of customizer (33.17 KB, image/png)
2012-05-15 07:29 UTC, Martin Fousek
Details
ICEFaces shows error (39.14 KB, image/jpeg)
2012-05-15 07:36 UTC, sunbiz
Details
PrimeFaces no error (37.61 KB, image/jpeg)
2012-05-15 07:36 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-05-11 11:20:40 UTC
Steps to reproduce:
1.) Create Web project with JSF framework added
2.) Right-click project properties
3.) Frameworks -> JavaServer Faces
4.) Components tab, select PrimeFaces... although this is not installed under libraries, it will allow checkbox. Others like RichFaces and ICEFaces cannot be checked
5.) After check if the project properties is pressed OK... the framework changes are saved. When properties is opened again, the PrimeFaces is unchecked automatically.

Expected behavior: Should give error in PrimeFaces just like RichFaces and ICEFaces when selected, but not in Libraries

Product Version = NetBeans IDE Dev (Build 201205100400)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_31
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.6-b01
Comment 1 Martin Fousek 2012-05-15 07:29:14 UTC
Created attachment 119448 [details]
screenshot of customizer

Sorry, I'm not able to reproduce your troubles - look on the attached screenshot. Be aware that there is already bundled Primefaces library with netbeans (or try to click for More options).
Comment 2 sunbiz 2012-05-15 07:36:09 UTC
Created attachment 119449 [details]
ICEFaces shows error
Comment 3 sunbiz 2012-05-15 07:36:50 UTC
Created attachment 119450 [details]
PrimeFaces no error
Comment 4 Martin Fousek 2012-05-15 08:39:47 UTC
Thanks for attaching screenshots. Could you click on the "More" button which library (or if any library) will be preselected there? It shouldn't be empty in your case. Thanks in advance...
Comment 5 Martin Fousek 2012-10-12 08:29:01 UTC
Closing as workforme. sunbiz thanks for reporting that but it already works to me well in the latest sources. No warning at Primefaces is shown by default since you have Primefaces bundled with netBeans IDE. If you delete Primefaces library, the warning is displayed since no PF library can't be found.

Feel free to reopen this issue when you would be able to reproduce it in the latest development builds. Thanks a lot...