title: Grails <field type="number" ...> not working ...?
body: <p>first post to this forum ...</p>
  
  <p>The Grails 2.0.1 &lt; field type="number" > doesn't seem to be working out of the box, but perhaps my usage is incorrect, so I'm looking here for a sanity check.</p>
  
  <p>Here's the field in my domain entity:</p>
  
  <pre><code>Long locationId
  static constraints = {
      locationId(blank: false)
  }
  </code></pre>
  
  <p>Here's the resulting field in the scaffolded-template generated _form.gsp:</p>
  
  <pre><code>&lt;g:field type="number" name="locationId" required="" value="${fieldValue(bean: myEntityInstance, field: 'locationId')}"/&gt;
  </code></pre>
  
  <p>But here's the result in the html, as per "view source":</p>
  
  <pre><code>&lt;input type="number" name="locationId" required="" value="" id="locationId" /&gt;
  </code></pre>
  
  <p>And my problem is that the form blanks out the existing value of that field, as per: value="".
  The other fields (all strings) are populated correctly.
  Is the Grails 2.0.1 "number" gsp field working correctly for other people?</p>
  
  <p>Regards
   Rob</p>