Changeset 246 for trunk/grails-app/conf


Ignore:
Timestamp:
Mar 8, 2010, 6:25:07 PM (11 years ago)
Author:
duh
Message:
  • increased session lifetime to 7 days
  • improved wizard study template selector
  • wizard study page now contains study template fields (which are not yet handled)
  • added protocol selector to event descriptions page
  • renamed the 'blood sampling' protocol to 'Blood sampling' (it was duplicately named 'Liver sampling')
Location:
trunk/grails-app/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BaseFilters.groovy

    r172 r246  
    2424                                        session.style = 'default_style'
    2525                                }
     26
     27                                // set session lifetime to 1 week
     28                                session.setMaxInactiveInterval(604800)
    2629                        }
    2730                }
  • trunk/grails-app/conf/BootStrap.groovy

    r239 r246  
    2020        def init = {servletContext ->
    2121                // define timezone
    22                 System.setProperty('user.timezone', 'CET')     
     22                System.setProperty('user.timezone', 'CET')
    2323
    2424                if (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) {
     
    134134
    135135                        def bloodSamplingProtocol = new Protocol(
    136                                 name: 'Liver sampling'
     136                                name: 'Blood sampling'
    137137                        ).with { if (!validate()) { errors.each { println it} } else save()}
    138138
Note: See TracChangeset for help on using the changeset viewer.