Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Domain class contraints #9

corinnekrych opened this Issue Jan 9, 2013 · 0 comments


None yet
1 participant

corinnekrych commented Jan 9, 2013

  1. create a domain class
    class Friend {
    String firstname
    String lastmane
    Date registrationDate
    static constraints = {
    registrationDate nullable: true


  2. grails gHA mypackage.Friend

  3. grails run-app

  4. go to view
    registration is mandatory

Missing constraint impl in _GenerateHtmlMobileArtefacts.groovy
See commented
// if (key=="blank") {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment