title: Use of option helper in Play Framework 2.0 templates
body: <p>I'm trying to use <code>views.html.helper.select</code> (documentation <a href="http://www.playframework.org/documentation/api/2.0/scala/index.html#views.html.helper.select" rel="noreferrer">here</a>). I don't know scala, so i'm using java. I need to pass object of type Seq[(String)(String)] to the template right? Something like:</p>
  
  <pre><code>@(fooForm:Form[Foo])(optionValues:Seq[(String)(String)])
  
  @import helper._
  
  @form(routes.foo){
    @select(field=myForm("selectField"),options=optionValues)
  }
  </code></pre>
  
  <p>I don't know how to create Seq[(String)(String)] in java. I need to fill this collection with pairs (id,title) from my enum class.</p>
  
  <p>Can somebody show me some expample how to use the select helper?</p>
  
  <p>I found <a href="https://groups.google.com/forum/?fromgroups#!topic/play-framework/9-dYG1wZkS0" rel="noreferrer">this</a> thread on users group, but Kevin's answer didn't helped me a lot.</p>