Display a domain transient property in scaffolded views
In my Grails 1.3.7 project I have a domain class like this: class User { String login String password String name String passwordConfirmation static constraints = { login unique:true, blank:false, maxSize:45 password password:true, blank:false, size:8..45, matches: /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*/ name blank:false, maxSize:45 passwordConfirmation display:true, password:true, validator: { val, obj -> if (!obj.properties['password'].equals(val)) { return ['password.mismatch'] }} } static transients = ['passwordConfirmation'] String toString() { name } } And I'm using scaffold for the