What is to correct way in Wicket 1.5 to obtain URL to a page instance?
In Wicket 1.4.x this worked:
MyPage page = new MyPage(some, parameters);
getRequestCycle().urlFor(page).toString()
A bunch of different versions of urlFor()
were removed from RequestCycle in Wicket 1.5, among these were urlFor(Page page) that I was using in Wicket 1.4.
getRequestCycle().urlFor(YourPage.class, null)
– Bel