[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4228) expose rewrite rules

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Feb 4 12:26:30 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated JBSEAM-4228:
------------------------------

    Assignee:     (was: 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
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list