Top "Scala-template" questions

Scala: abstract type pattern A is unchecked since it is eliminated by erasure

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-template
Scala Play framework: Binding form parameters to hidden fields

I 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-template
How to allow default value selection in a @select helper?

In my form, I've defined a drop-down: @select( myForm("category_id"), options(Category.options()), '_label -> "Category", '_…

playframework playframework-2.0 scala-template