You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/13 19:16:34 UTC

[jira] Resolved: (WW-1948) s:url tag does not provide forceAddSchemeHostAndPort parameter

     [ https://issues.apache.org/struts/browse/WW-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes resolved WW-1948.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.10

Fixed on the 2_0_X branch in SVN revision 565422.

Fixed on the trunk (Struts 2.1) in SVN revision 565429.

> s:url tag does not provide forceAddSchemeHostAndPort parameter
> --------------------------------------------------------------
>
>                 Key: WW-1948
>                 URL: https://issues.apache.org/struts/browse/WW-1948
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Views
>            Reporter: Sami Dalouche
>            Assignee: James Holmes
>             Fix For: 2.0.10, 2.1.0
>
>
> URLHelper#buildUrl provides a parameter called forceAddSchemeHostAndPort, that is not settable from s:url tags (according to http://struts.apache.org/2.x/docs/url.html).
> ./core/src/main/java/org/apache/struts2/components/URL.java uses :
> result = UrlHelper.buildUrl(_value, req, res, parameters, scheme, includeContext, encode);
> where it could use the following prototype :
> UrlHelper#buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort) 
> Regards,
> Sami Dalouche

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.