title: Wicket 1.5 and obtaining a URL to page instance
body: <p>What is to correct way in Wicket 1.5 to obtain URL to a page instance? </p>
  
  <p>In Wicket 1.4.x this worked:</p>
  
  <pre class="lang-java prettyprint-override"><code>MyPage page = new MyPage(some, parameters);
  getRequestCycle().urlFor(page).toString()
  </code></pre>
  
  <p>A bunch of different versions of <code>urlFor()</code> were removed from <a href="http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/cycle/RequestCycle.html">RequestCycle in Wicket 1.5</a>, among these were <a href="http://wicket.apache.org/apidocs/1.4/org/apache/wicket/RequestCycle.html#urlFor%28org.apache.wicket.Page%29">urlFor(Page page)</a> that I was using in Wicket 1.4.</p>