[
http://jira.jboss.com/jira/browse/JBSEAM-274?page=comments#action_12365158 ]
Jonas Erma commented on JBSEAM-274:
-----------------------------------
I've had a very time consuming experience with
tuckey.org URLRewriteFilter and it
still doesn't work for me. The problem is that I can't get Ajax4JSF working when I
use forwarding (instead of redirecting) and define outbound-rules.
Rewrite rules that Christian has in his wiki are simple and work perfectly. I want that
not only incoming URLs are rewritten but also the outgoing ones in my pages. Everything
works until an ajax event is fired (e.g. for input validation). Then the ajax response
comes with wrong content-type and with missing XML preamble, which causes Ajax4JSF to
complain.
I tried to correct this by writing a filter for ajax responses. The filter corrects the
content-type and adds the missing XML preamble to the response. But this time the response
is not valid XML anymore. Although my Facelet sources have the XML entity   for
non-breaking spaces, they are somehow converted to HTML in the response.
The logical next step for me would be to transform the response to valid XML in the filter
but I'm not sure if my approach is the write one. I would prefer having a Seam
solution for URL rewriting working nicely with pages.xml.
See also the following Ajax4JSF forum post:
http://jboss.com/index.html?module=bb&op=viewtopic&t=109991
More flexible mapping of URLs to view ids
-----------------------------------------
Key: JBSEAM-274
URL:
http://jira.jboss.com/jira/browse/JBSEAM-274
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Reporter: Gavin King
Assigned To: Gavin King
Fix For: 1.3.0.BETA1
For example, I want to be able to use a URL like this:
http://mydomain.com/myblog/archive/200306
To get me to archive.xhtml with a request parameter 200306 (not really a request
parameter, but we could try to abstract that so that it can be used with
@RequestParameter).
Not sure if this is possible without changing the JSF implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira