]
Norman Richards reassigned JBSEAM-4228:
---------------------------------------
Assignee: Norman Richards
expose rewrite rules
--------------------
Key: JBSEAM-4228
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4228
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.1.2.CR2
Reporter: Duncan Stockdill
Assignee: Norman Richards
The RewriteFilter translates the requests to the internal view URLs and dispatches the
request with the rewritten URL. e.g.
RequestDispatcher dispatcher = request.getRequestDispatcher(newPath);
dispatcher.forward(request, response);
As a result, the original URL is lost to processing further down the chain. In some
cases it's useful to have access the original URL.
Potentially the URL could be stored and made available as an injectable component, but a
more generic answer would be to expose the rewrite rules so an internal view can be
converted to an external URL programatically. e.g. add matchPatterns or rewritePath to
Pages class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: