Changeset 837 for trunk/grails-app
- Timestamp:
- Mar 3, 2011, 10:28:16 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Entry.groovy
r586 r837 3 3 Task task 4 4 EntryType entryType 5 ConditionSeverity highestSeverity 5 6 ProductionReference productionReference 6 7 … … 20 21 durationMinute(min:0,max:59) 21 22 productionReference(nullable: true) 23 // Nullable unless PM Entry Type. 24 highestSeverity(nullable:true, validator: {val, obj -> 25 if(val == null && (obj.entryType.id == 6)) 26 return 'not.nullable.for.pm.entry' 27 }) 22 28 } 23 29 -
trunk/grails-app/i18n/messages.properties
r833 r837 175 175 the target start date. 176 176 177 entry.highestSeverity.not.nullable.for.pm.entry=Please select a condition severity. 177 178 entry.create.no.params=Please select a task, then add an entry. 178 179 entry.create.no.params.ajax=Incorrect params supplied.
Note: See TracChangeset
for help on using the changeset viewer.