Getting url for a page

2011-12-19 Thread Niranjan Rao
Hi folks, On wicket 1.5.1 I have a page that calls a JSON service url in different package. For simplicity let's just say, Page resides in page package and services reside in services package. Layout is something as follows page: Page sercices: ServiceA ServiceB Page calls get urlFor

Re: Getting url for a page

2011-12-19 Thread Francois Meillet
Hi Niranjan, Url url = RequestCycle.get().mapUrlFor(pageClass, parameters); String fullurl = RequestCycle.get().getUrlRenderer().renderFullUrl(url); François Le 20 déc. 2011 à 03:52, Niranjan Rao a écrit : Hi folks, On wicket 1.5.1 I have a page that calls a JSON service url in