Problem with a portlet using JSF and faces-config.xml

View: New views
1 Messages — Rating Filter:   Alert me  

Problem with a portlet using JSF and faces-config.xml

by Thomas Kellerer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

we are working on a Portlet based on JSF (IceFaces)

I have created a "Web Project from existing sources" in NB 6.5

When I open the faces-config.xml I get the following error message which I don't understand:

"Your faces configuration file does not exist within a Web Module (...)"

The file is located in the WEB-INF folder of a web-project, so why does NetBeans claim that it "does not exist within a Web Module"?
Is there a difference between a web project and a web module? If there is, what is the difference?
How do I create a Web *Module* then?


Then when I close the file I get another error message:

"Your page locations will not persist if your faces configuration file is not part of a project"

Hmm. "not part of a project"?? I just opened that file within a web project.
What am I missing here?

Regards
Thomas