Tutorials

Books

The play.data package contains several helpers to handle HTTP form data submission and validation. The easiest way to handle a form submission is to define a play.data.Form that wraps an existing class:

In case you want to define a mapping from a custom object to a form field string and vice versa you need to register a new Formatter for this object.For an object like JodaTime’s LocalTime it could look like this: