[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2235) Making Seam work with urlrewritefilter's outbound-rules

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Nov 13 08:58:55 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2235?page=all ]

Pete Muir closed JBSEAM-2235.
-----------------------------

    Resolution: Done
      Assignee: Pete Muir

Thanks Adam.

> Making Seam work with urlrewritefilter's outbound-rules 
> --------------------------------------------------------
>
>                 Key: JBSEAM-2235
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2235
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.GA
>            Reporter: Adam Warski
>         Assigned To: Pete Muir
>             Fix For: 2.0.1.GA
>
>         Attachments: ViewUrlBuilder.java, ViewUrlBuilder.java.patch
>
>
> Currently, it is not possible to use urlrewritefilter to handle outbound-rules which depend on query parameters, and thus have full support for "friendly" urls.
> The fix is quite simple; attached you'll find the modified org.jboss.seam.ui.util.ViewUrlBuilder class, which is modified in 2 places:
> - lines 27-29 of the constructor are changed not to call httpServletResponse.encodeURL().
> - the method getEncodedUrl() is overriden, so that is encodes the URL (when the parameters are known).
> With these changed, not only links generated by <s:link> will be translated, but also any redirects from navigation rules in pages.xml will be correct.

-- 
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

        



More information about the seam-issues mailing list