[
https://issues.jboss.org/browse/JBIDE-9398?page=com.atlassian.jira.plugin...
]
Viacheslav Kabanovich commented on JBIDE-9398:
----------------------------------------------
We do not have 'Add JSF capabilities' wizard anymore. However, I think we should
add required mappings to templates of new JSF 2 projects.
Wizard "Add JSF capabilities..." not conform with JSF 2
-------------------------------------------------------
Key: JBIDE-9398
URL:
https://issues.jboss.org/browse/JBIDE-9398
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M2
Reporter: Juergen Zimmermann
Assignee: Viacheslav Kabanovich
Fix For: 3.3.x
When the wizard for "Add JSF capabilities..." is invoked and the Servlet
version "3.0" is selected, then the wizard adds to web.xml the following lines:
<servlet>
<servlet-name>Faces Config</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
However, according to the JSF 2.0 spec two additional mappings are also defined:
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira