Changeset 430


Ignore:
Timestamp:
May 18, 2010, 11:30:00 AM (7 years ago)
Author:
duh
Message:
  • tweaked error messages in wizard
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy

    r429 r430  
    695695                def errors = [:]
    696696                object.errors.getAllErrors().each() {
    697 println it
    698 println it.getDefaultMessage()
    699 println it.toString()
    700 println it.toString().indexOf(';')
    701697                        def message = it.toString()
    702                         println message.substring(0..message.indexOf(';'))
    703                         errors[it.getArguments()[0]] = it.getDefaultMessage()
     698
     699                        //errors[it.getArguments()[0]] = it.getDefaultMessage()
     700                        errors[it.getArguments()[0]] = message.substring(0, message.indexOf(';'))
    704701                }
    705702
Note: See TracChangeset for help on using the changeset viewer.