Bug 291336 - JSF facet not configured properly
Summary: JSF facet not configured properly
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Pave (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Milen Manov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 08:00 EDT by Kaloyan Raev CLA
Modified: 2012-12-11 14:15 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2009-10-05 08:00:55 EDT
After applying the CRUD Application pattern a web project is generated. If I go to Properties > Project Facets > Java Server Faces, I can see that the validation shows error: "At least one user library must be selected.". This is because the JSF facet is not configured when set to the project. 

There are two approaches to resolve this issue: 

1. Set the Type to "Disable Library Configuration". This way the pattern will always rely that the target server runtime will have the necessary JSF jars in its container classpath. 

2. This is the more preferable approach. Include the JSF Facet wizard page in the Pattern wizard. Now the user has the option to configure JSF libraries correctly, especially if the libs are not available on the server runtime. The default Type value should be again "Disable Library Configuration", so the wizard can finish without going to that wizard page.