Are you sure it isn't the other way? That s:link should work, but the h:outputLink shouldn't.
Yes I am. It is as if the rewriter is not applied on the s:link
I have the following:
<h:outputLink value="/home.xhtml">home outputlink</h:outputLink> <s:link view="/home.xhtml" value="home slink" propagation="none" />
and the outbound rule
<outbound-rule> <from>/home(.*)</from> <to>/home</to> </outbound-rule>
And the result:
the h:outputLink outputs http://localhost:8080/home
the s:link outputs http://localhost:8080/app/home.seam
I've got the same issue but only within email. The s:link is rendered as http://localhost/project/home.seam where
projectas a word and doesn't target my context path. For usual pages the url rewriting works quite well.
Should the url rewrite filter also work for email/pdfs or i need my own handling?