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 200096 - Component libraries cannot be added to the JSF project after the project creation
Summary: Component libraries cannot be added to the JSF project after the project crea...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.0.1
Hardware: PC All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on: 202818
Blocks:
  Show dependency tree
 
Reported: 2011-07-13 00:01 UTC by arungupta
Modified: 2011-10-07 14:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2011-07-13 00:01:22 UTC
Found this from a user ...

1. Create a new Web Application project
2. On step 4 on the wizard, select JSF as a framework but don't select any component suite.
3. Once the project is created, right click on it on the projects window and select "Properties".
4. Click on the "Frameworks" category
5. Click on the "Components" tab
6. Select "PrimeFaces 2.2.1" in the "Components Suite" drop down.
7. Click "OK"

Expected result: PrimeFaces 2.2.1 library is added to the project

Actual result: PrimeFaces 2.2.1 library is not added to the project
Comment 1 Martin Fousek 2011-07-13 04:42:11 UTC
Thanks for reporting, I was able to easily reproduce going thru mentioned steps.

However, I'm afraid that it's too late for fixing that for nb701, target milestone set to nb71.
Comment 2 Martin Fousek 2011-09-27 09:40:15 UTC
It's not possible to add any JSF suite to existing JSF project at all since last modifications of JSF suite functionality, so it should be enabled this option for all suites.
Comment 3 David Konecny 2011-09-27 19:02:09 UTC
Martin, do you plan to implement this for 71?
Comment 4 Martin Fousek 2011-09-27 19:07:54 UTC
Yes, I'm. I was attaching this issue to answer of one Netcat user so I wanted to have updated it properly. I will take a look on that this or next week. Thanks for your interest.
Comment 5 Martin Fousek 2011-09-29 12:41:16 UTC
It requires changes across more modules because there isn't solved how to save configuration changes in WebModuleExtenders for extenders which weren't already included into the web module. Current solution leads to issues like bug #202807. 

I entered fast API review for that - issue #202818.
Comment 6 Martin Fousek 2011-09-29 12:42:23 UTC
Sorry, one mistake: ...for extenders which WERE already included into...
Comment 7 Martin Fousek 2011-10-06 08:04:44 UTC
Ok, it's possible now.

Fixed in:
web-main #7b3b8de0e589 - for Ant projects
web-main #ac7496aa9fde, web-main #0afb697c600e - for Maven projects
Comment 8 Quality Engineering 2011-10-07 14:37:07 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/7b3b8de0e589
User: Martin Fousek <marfous@netbeans.org>
Log: #200096 - Component libraries cannot be added to the JSF project after the project creation