|Support for beans in faces-config.xml outside WebContent [message #658605]
||Wed, 09 March 2011 08:56
| Dietrich Schulten
Registered: March 2011
I have managed to add the JSF Facet to a maven war project, and in my JSPs I can even see the managed beans from the faces-config.xml in the standard location src/main/webapp/WEB-INF. Unfortunately, the jsp editor does not see the beans from a generated faces-config.xml which lives in a folder separate from src/main/webapp, it is in a WEB-INF folder below the target/generated-sources folder.
How do the Faces Tools look for the faces-config files? In the web.xml, I have three of them:
The first one contains the generated managed beans, and it is not found. The managed beans from the second one are found and shown by code completion.
I tried to add my path to the generated webapp sources in .jsdtscope and in org.eclipse.swt.commons.component, but that did not help. What seems to help is to drag the generated file to webapp/WEB-INF and create a link. But I'd rather help WTP to find the file in the original place.
Powered by FUDForum
. Page generated in 0.03719 seconds