Faces Config Editor only showing Source tab [message #476050] |
Fri, 31 October 2008 11:10  |
Eclipse User |
|
|
|
I'm not sure what I managed to do to my Eclipse configuration, and/or
project, but the Faces Config Editor is no longer showing the various tabs
for managed beans, navigation, ... When I open my faces-config.xml file,
the Faces Config Editor overview screen flashes briefly, then the file
opens with only a source tab visible.
Any thoughts on what might cause this?
|
|
|
|
|
Re: Faces Config Editor only showing Source tab [message #476053 is a reply to message #476052] |
Fri, 31 October 2008 17:17  |
Eclipse User |
|
|
|
Cameron Bateman wrote:
> If the faces-config.xml you are opening is outside the WebContent folder
> hierarchy of a dynamic web project, I believe we disable the graphical
> tabs.
The file is located at WebContent/WEB-INF/faces-config.xml. However, the
project in question began as a simple Java project. It was subsequently
upgraded to a Dynamic Web Project manually.
It turns out that I never had the graphical tabs enabled for this specific
project, but they are visible for projects I created using the Ganymede
new project wizards, so I started looking at the .classpath and .project
files.
I opened the project properties and added the JavaServer Faces facet, and
now the graphical tabs are visible. Looking at what got changed, I see
the new entries shown below.
Michael
web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>
javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
classpath
<classpathentry exported="true" kind="con"
path=" org.eclipse.jst.jsf.core.internal.jsflibrarycontainer/Facele ts ">
<attributes>
<attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con"
path="org.eclipse.jst.jsf.core.internal.jsflibrarycontainer/JSTL ">
<attributes>
<attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
|
|
|
|
|
Re: Faces Config Editor only showing Source tab [message #618722 is a reply to message #476052] |
Fri, 31 October 2008 17:17  |
Eclipse User |
|
|
|
Cameron Bateman wrote:
> If the faces-config.xml you are opening is outside the WebContent folder
> hierarchy of a dynamic web project, I believe we disable the graphical
> tabs.
The file is located at WebContent/WEB-INF/faces-config.xml. However, the
project in question began as a simple Java project. It was subsequently
upgraded to a Dynamic Web Project manually.
It turns out that I never had the graphical tabs enabled for this specific
project, but they are visible for projects I created using the Ganymede
new project wizards, so I started looking at the .classpath and .project
files.
I opened the project properties and added the JavaServer Faces facet, and
now the graphical tabs are visible. Looking at what got changed, I see
the new entries shown below.
Michael
web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>
javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
classpath
<classpathentry exported="true" kind="con"
path=" org.eclipse.jst.jsf.core.internal.jsflibrarycontainer/Facele ts ">
<attributes>
<attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con"
path="org.eclipse.jst.jsf.core.internal.jsflibrarycontainer/JSTL ">
<attributes>
<attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
|
|
|
Powered by
FUDForum. Page generated in 0.04518 seconds