Changeset 632 for trunk/grails-app
- Timestamp:
- Jul 16, 2010, 12:54:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/CostCodeDetailedController.groovy
r628 r632 71 71 def version = params.version.toLong() 72 72 if(costCodeInstance.version > version) { 73 73 74 74 costCodeInstance.errors.rejectValue("version", "default.optimistic.locking.failure") 75 75 render(view:'edit',model:[costCodeInstance:costCodeInstance]) … … 107 107 render(view:'create',model:[costCodeInstance:costCodeInstance]) 108 108 } 109 } 110 } 109 } // save 110 111 } // end class
Note: See TracChangeset
for help on using the changeset viewer.