Ignore:
Timestamp:
Apr 26, 2010, 4:53:36 PM (11 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/conf/BootStrap.groovy

    r379 r382  
    7171                            lastName: "Scientist",
    7272                            firstName: "John",
    73                             midInitials: "R",
     73                            gender: "Male",
     74                            initials: "J.R.",
    7475                            email: "john@scienceinstitute.com",
    7576                            phone: "1-555-3049",
     
    8384                            lastName: "Statician",
    8485                            firstName: "Jane",
    85                             midInitials: "W",
     86                            gender: "Female",
     87                            initials: "W.J.",
    8688                            email: "jane@statisticalcompany.de",
    8789                            phone: "49-555-8291",
     
    9395                        // Create 30 persons to test pagination
    9496                        def personCounter = 1;
    95                         30.times { new Person( firstName: "Person #${roleCounter}", lastName: "Testperson", email: "email${roleCounter++}@testdomain.com" ).save() }
     97                        30.times { new Person( firstName: "Person #${personCounter}", lastName: "Testperson", email: "email${personCounter++}@testdomain.com" ).save() }
    9698
    9799 /*   COMMENTED OUT BECAUSE IT BREAKS EVERYTHING AFTER REFACTORING THE DATAMODEL
     
    693695                        .addToPersons( studyperson2 )
    694696                        .save()
    695 
     697                       
    696698                        /*
    697699                        println 'Adding PPSH study'
Note: See TracChangeset for help on using the changeset viewer.