Renderer doesn't respect servlet mapping in seam links
------------------------------------------------------
Key: JBSEAM-4310
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4310
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.1.2.GA
Environment: Ubuntu Jaunty
Reporter: Yuriy Lazarev
If I use Renderer for rendering facelets template
Renderer.instance().render("/messages/invitation_accepted.xhtml");
and template contains such code:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:f="http://java.sun.com/jsf/core">
<s:link view="/some_page.xhtml" value="Go to some
page"><f:param name="some_param"
value="some_value"/></s:link>
</ui:composition>
I expect to get after rendering
<a href="/some_page.html?some_param=some_value">Go to some
page</a>
because in web.xml I've defined this:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
but instead I get
<a href="/some_page.seam?some_param=some_value">Go to some
page</a>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira