title: Binding enum to form <select> element in Play! Framework 2.1
body: <p>I'm trying to figure out best practice to bind <code>enum</code> to form drop-down <code>&lt;select&gt;</code> in Play! 2.0</p>
  
  <p>Here is my enum:</p>
  
  <pre><code>public enum ContactType {
      CLIENT(1),
      CONTRACTOR(2),
      SUPPLIER(3);
  
      public final int id;
  
      ContactType(int id) {
        this.id = id;
      }
  }
  </code></pre>
  
  <p>And here's what i'd like to get as result in my view:</p>
  
  <pre><code>&lt;select name="contactType"&gt;
    &lt;option value="1"&gt;CLIENT&lt;/option&gt;
    &lt;option value="2"&gt;CONTRACTOR&lt;/option&gt;
    &lt;option value="3"&gt;SUPPLIER&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>