Ok.. This is really odd. This
>> urlFor(PAGE_CLASS.class, >> null).toString( is spitting out ../../MyPage If I have query params. Then RequestUtils.toAbsolutePath() decides to managle it further. On Oct 5, 2009, at 6:26 PM, Douglas Ferguson wrote: > Ok.. I just realized that the issue is when the link is generated on a > page with Params. > > i.e. > > http://www.mysite.com/Page/Parm1/Value 1 > > but is works fine if you have > > http://www.mysite.com/Page > > > On Oct 5, 2009, at 5:52 PM, Douglas Ferguson wrote: > >> I'm using >> >> final String loginUrl = >> RequestUtils.toAbsolutePath(urlFor(PAGE_CLASS.class, >> null).toString()); >> >> It generates this link, without my domain. >> >> http://PageClass/urlKey/urlValue/etc/etc/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org