Community contributed extensions

scaffold

scaffold (http://github.com/lmcalpin/Play--Scaffold) generates simple scaffolding code from your models.

Getting Started

To include scaffold in an existing project add the following lines to your conf/application.conf file

module.scaffold=${play.path}/modules/scaffold-head

Using scaffold

Simply define your models as you would normally. Scaffold supports standard Play! JPA entities as well as Siena. Once you have defined your models, run:

play scaffold:gen

to generate controllers and views. By default, scaffold will not overwrite files that already exist. You can use the --overwrite command to force scaffold to overwrite existing files.