[
https://jira.jboss.org/browse/JBIDE-6810?page=com.atlassian.jira.plugin.s...
]
Viacheslav Kabanovich commented on JBIDE-6810:
----------------------------------------------
1. Please check that in your project web.xml defines context parameter
javax.faces.DEFAULT_SUFFIX set to .xhtml
2. I found that for some configurations JSF facet fails to be installed correctly.
For example, try New Faceted Project (New -> Project... -> General -> Faceted
Project) and set
- Dynamic Web Module 2.5
- Java 1.5 or 1.6
- JavaServerFaces 1.1
Wizard allows to finish, and project is created with all facets, but
java.lang.ClassCastException exception is logged and Run As... does not work.
The same happens with New JSF Project when one selects JSF 1.1 and Servlet Version 2.5. We
can do nothing with it, it is a problem of jst.jsf. Please check it, and if it looks like
a bug, report to Eclipse Bugzilla.
Launching page via Run As.. doesn't take into account JSF servlet
mapping
-------------------------------------------------------------------------
Key: JBIDE-6810
URL:
https://jira.jboss.org/browse/JBIDE-6810
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.M1
Reporter: Max Katz
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.Beta1
Servlet mapping in web.xml:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
Create simple JSF page (start.xhtml)
Right click page and select Run As>Run On Server...
The following URL opens:
http://localhost:8080/rf/start.xhtml
The URL is not correct, it should be:
http://localhost:8080/rf/start.jsf
Same problem with /faces/* mapping
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira