Ignore:
Timestamp:
Apr 26, 2010, 4:53:36 PM (10 years ago)
Author:
roberth
Message:

Updated the fields of person to contain title, gender, prefix and mobile phone. Also updated the views so that the pagination buttons appear beneath the 'add new' button.

File:
1 edited

Legend:

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

    r361 r382  
    66class Person {
    77
     8    String title
     9    String gender
    810    String lastName
     11    String prefix
    912    String firstName
    10     String midInitials
     13    String initials
    1114    String email
    1215    String fax
    1316    String phone
     17    String mobile
    1418    String address
    1519
     
    1721
    1822    static constraints = {
     23        title(nullable:true,blank:true)
     24        gender(nullable:true,blank:true)
    1925        firstName(nullable:true,blank:true)
    20         midInitials(nullable:true,blank:true)
     26        initials(nullable:true,blank:true)
     27        prefix(nullable:true,blank:true)
     28        lastName(nullable:true,blank:true)
    2129        email(nullable:true,blank:true)
    2230        fax(nullable:true,blank:true)
    2331        phone(nullable:true,blank:true)
    2432        address(nullable:true,blank:true)
     33        mobile(nullable:true,blank:true)
    2534    }
    2635}
Note: See TracChangeset for help on using the changeset viewer.