I am writing the function that can catch exceptions of the certain type only. def myFunc[A <: Exception]() { try { …
scala generics functional-programming type-erasure scala-templateI am working with Play 2.0.4 and have the following form in my scala template. @fieldGroup(field: Field, className: String = "field") = { &…
playframework-2.0 scala-templateIn my form, I've defined a drop-down: @select( myForm("category_id"), options(Category.options()), '_label -> "Category", '_…
playframework playframework-2.0 scala-template