Ignore:
Timestamp:
Nov 25, 2008, 3:58:19 PM (16 years ago)
Author:
tuxta
Message:

Set up BootStrap? and tweaked Domain classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/domain/Person.groovy

    r18 r19  
    1717        firstName()
    1818        lastName()
    19         employeeID()
     19        employeeID(blank:true, nullable:true)
    2020    }
    2121
    2222    //Overriding the default toString method
    23     String toString() {"${this.firstName}:"{this.lastName}}
     23    String toString() {"${this.firstName} ${this.lastName}"}
    2424}
Note: See TracChangeset for help on using the changeset viewer.