Bug 142790 - JSF App Detection
Summary: JSF App Detection
Status: NEW
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Debajit Adhikary CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2006-05-19 11:43 EDT by Gerry Kessler CLA
Modified: 2008-04-01 16:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2006-05-19 11:43:12 EDT
After importing a WAR, I forgot to add the JSF facet and stuff wasn't working correctly.   Yes this is a flaw in the facet stuff, but until there is a mechanism in facets to add them during import, we can do better.

The utility method isValidProject(IProject) could, after not finding the facet, check for a WEB-INF\faces-config.xml file if the project is a wst.web faceted project.  If config is found, we can prompt the user to add the facet and we could even do that silently if we find the faces servlet already hooked up in the web.xml file.
Comment 1 Raghunathan Srinivasan CLA 2006-06-14 16:49:13 EDT
Deferred for 1.5. Document the limitation.
Comment 2 Gerry Kessler CLA 2006-06-14 18:04:37 EDT
limitation documented in the User Guide: Concepts: JSF Facets
Comment 3 David Williams CLA 2007-07-19 02:00:26 EDT
re-opening to change resolved-later to open-Future
Comment 4 Raghunathan Srinivasan CLA 2008-04-01 16:31:49 EDT
Import of a JSF web project doesn't loose the facet, so I think this is resolved. Please verify and close this as WORKSFORME.