Scala Enumeration support for Play Framework 2
Scala
Switch branches/tags
Latest commit 92708ac Feb 23, 2013 @leon Play 2.1 Compatible. v1.1.0

README.md

Scala Enumerations for Play Framework 2

This plugin makes it possible to use Scala's Enumerations across Play Framework 2

Note! I don't think Scala's enumerations are any good. There are other constructs such as case classes that are better suited. But I'm keeping this package around for those i choose to go with it anyway :)

  • Forms
  • JSON

Build Status

Installation

Adding the plugin to your project/Build.scala

val appDependencies = Seq(
  "se.radley" %% "play-plugins-enumeration" % "<add latest version here>"
)