Except that is not fully bookmarkable as per the API, is it? How can I produce a fully bookmarkable URL that can be printed?
I tried to follow this: RequestCycle.get().getUrlRenderer().renderFullUrl( Url.parse(urlFor(MyPage.class,null).toString())); from here https://cwiki.apache.org/WICKET/getting-a-url-for-display.html but the URL is still is printed as http://localhost/search instead of http://localhos/fts/search -Nelson On Fri, Apr 20, 2012 at 1:27 PM, Igor Vaynberg <igor.vaynb...@gmail.com> wrote: > if you are currently on a /fts/<foo> url, then "search" is correct > because relative to /fts/<foo> it will produce /fts/search. > > -igor > > > On Fri, Apr 20, 2012 at 1:25 PM, Nelson Segura <nsegu...@gmail.com> wrote: >> Using Wicket 1.5.4 >> >> Have the following mountedPage() >> >> mountPage("/fts/search", FTSResultsPage.class); >> >> >> In a panel inside that page I have >> >> String pageUrl = urlFor(FTSResultsPage.class,null).toString(); >> >> I expect this to be (as in wicket 1.4) >> >> "/fts/search" >> >> But instead it is rendered as >> >> "search" >> >> Is there any explanation for this? >> >> -Nelson Segura >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org