This content has been marked as final.
Show 3 replies
-
1. Re: url rewrite filter, url is not rewritten
norman Mar 13, 2008 6:02 AM (in response to dam)Are you sure it isn't the other way? That s:link should work, but the h:outputLink shouldn't.
-
2. Re: url rewrite filter, url is not rewritten
dam Mar 13, 2008 11:19 AM (in response to dam)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
-
3. Re: url rewrite filter, url is not rewritten
gena Jul 16, 2008 5:19 PM (in response to dam)I've got the same issue but only within email. The s:link is rendered as http://localhost/project/home.seam where
project
as 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?