Monthly Archives: July 2013

Grails generate-all Example

Use the grails generate-all command to create controller, views, and controller unit tests. First, define a domain such as the below User. package wolbay class User { String userId String password static constraints = { userId(length:6..8,unique:true) password(length:6..8) } } Second, … Continue reading

Posted in Groovy Grails | Comments Off on Grails generate-all Example