You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Antoine van Wel <an...@gmail.com> on 2009/03/07 15:29:34 UTC

bug? RequestUtils.toAbsolutePath using AJAX is not constructing a valid path

Hey hey,


trying to construct a URL like this:

RequestUtils.toAbsolutePath(urlFor(MyPage.class, null).toString());


this works fine in general, but when executed using AJAX calls, it produces
" http:/mypagemountpath "
instead of the expected " http://my.host.name/mypagemountpath "


Am I missing something or is this a bug?


- Antoine


-- 
We don't see things as they are, we see things as we are. - Anais Nin
Whether you think you can or whether you think you can't, you're right. -
Henry Ford

Re: bug? RequestUtils.toAbsolutePath using AJAX is not constructing a valid path

Posted by Igor Vaynberg <ig...@gmail.com>.
file a jira, preferrably with a quickstart

-igor

On Sat, Mar 7, 2009 at 6:29 AM, Antoine van Wel
<an...@gmail.com> wrote:
> Hey hey,
>
>
> trying to construct a URL like this:
>
> RequestUtils.toAbsolutePath(urlFor(MyPage.class, null).toString());
>
>
> this works fine in general, but when executed using AJAX calls, it produces
> " http:/mypagemountpath "
> instead of the expected " http://my.host.name/mypagemountpath "
>
>
> Am I missing something or is this a bug?
>
>
> - Antoine
>
>
> --
> We don't see things as they are, we see things as we are. - Anais Nin
> Whether you think you can or whether you think you can't, you're right. -
> Henry Ford
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org