[
https://issues.apache.org/jira/browse/WICKET-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4587.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.2.0
I've improved the javadoc of #mapUrlFor() methods. Now they describe what is
the difference with #urlFor() methods.
> URLRenderer renderFullUrl
> -------------------------
>
> Key: WICKET-4587
> URL: https://issues.apache.org/jira/browse/WICKET-4587
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.7
> Reporter: Dirk Forchel
> Assignee: Martin Grigorov
> Fix For: 6.2.0
>
> Attachments: quickstart.zip
>
>
> When using the following code to create an absolute url in wicket 1.5.7 from
> a page class and parameters, there are also duplicate segments in the url.
> the rendered absolute url is not correct.
> final Url url = RequestCycle.get().mapUrlFor( pageClass, pageParameters );
> final String result = RequestCycle.get().getUrlRenderer().renderFullUrl( url
> );
> RequestCycle.get().mapUrlFor(..) does not return an "absolute" url (first
> segment will not be empty).
> See also description in WICKET-4561
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira