title: bindFromRequest and asFormUrlEncoded return different values
body: <p>I have a form where a field name is the same as one of the method/url parameters on the submit, say <code>someInt</code>. I.e. my form has <code>@(dummyForm:Form[Dummy], someInt:Int)</code> and <code>dummyForm</code> has a field <code>"someInt" -&gt; number</code> and the controller is defined as <code>def submit(someInt:Int) =...</code>. <a href="https://gist.github.com/wwkudu/28bb110b92ff6155ad9e" rel="nofollow" title="Gist">Sample code here.</a></p>
  
  <p>Let's say I submit the form with dummy.someInt value 222 and url parameter 555, I find the following:</p>
  
  <ul>
  <li><code>request.body.asFormUrlEncoded</code> shows one someInt, namely the value entered in the input field: <code>(someInt,ArrayBuffer(222))</code></li>
  <li><code>bindFromRequest</code>, however somehow binds the form value to the url parameter value, <code>555</code> in this case</li>
  </ul>
  
  <p>Is this expected behaviour? I would have thought <code>bindFromRequest</code> would be able to differentiate between the two? Is there a preferred way to prevent this type of conflict (besides having different names)?</p>
  
  <p>(There is a workaround in this case. Instead of using the parameterless version of <code>bindFromRequest</code>, it seems to work as desired if you explicitly specify the <code>asFormUrlEncoded</code> set of values, i.e. <code>bindFromRequest(request.body.asFormUrlEncoded.getOrElse(Map()))</code>. I am using Scala - have not tried to replicate in Java.)</p>