[
https://issues.jboss.org/browse/JBIDE-10177?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-10177:
-----------------------------------------------
Mapping awareness is implemented. It assumes that default value of
javax.faces.DEFAULT_SUFFIX is '.jsp'. Table 5.1 in
http://docs.jboss.org/jbossas/6/JSF_Guide/en-US/html/jsf.reference.html does not say that
in JSF 2 the default value of this parameter is '.xhtml'. However, JSF 2 becomes
broken, when I manually set
{code}
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jsp</param-value>
</context-param>
{code}
so that '.xhtml' must be default.
web.xml validator should be aware of JSF mappings
-------------------------------------------------
Key: JBIDE-10177
URL:
https://issues.jboss.org/browse/JBIDE-10177
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M4
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.Beta1
1. Create JSF2 KickStart project.
2. Create 404.xhtml page in WebContent folder
3. Add the following code to the end of web.xml file:
{code}
<error-page>
<error-code>404</error-code>
<location>/404.jsf</location>
</error-page>
{code}
There should not be any error/warning markers on /404.jsf. This location should be mapped
to the 404.xhtml file.
But right now I get: "error: Attribute location references to /404.jsp that does not
exist in web content" error message.
--
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