title: Use object in Route with PlayFramework : Reverse routing
body: <p><strong>Is it possible to generate an url mapped by an object ?</strong><br />
  The <a href="http://www.playframework.org/documentation/1.2/controllers#POJOobjectbinding">Pojo Object Mapping</a> is a native function of PlayFramework (1.2.2), but what about the <strong>reverse routing</strong>? </p>
  
  <p>I would like to do this :</p>
  
  <p>Java:</p>
  
  <pre><code>class MyControler extends Controller {
      public static function myAction(MyObject o) {}
  }
  </code></pre>
  
  <p>Route: (something like this ? If it's possible, i don't know the syntax to do it !)</p>
  
  <pre><code>GET    /folder/{myObject.name}/{myObject.id}      MyController.myAction(myObject)
  </code></pre>
  
  <p>Template :</p>
  
  <pre><code>&lt;a href="@{MyControler.myAction(myObject)}"&gt;Go&lt;/a&gt;
  </code></pre>
  
  <p><strong>Expected result</strong> :</p>
  
  <pre><code>&lt;a href="/folder/xxNamexx/33"&gt;Go&lt;/a&gt; 
  </code></pre>
  
  <p><em>(I have a Symfony background, and I search an equivalent to the <a href="http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05#chapter_05_object_route_class">Object Route Class</a>)</em></p>
  
  <p>I think Play! don't support this functionnaly, could someone confirm or refute this idea?
  Thank you.</p>