Changeset 786
- Timestamp:
- Aug 6, 2010, 12:33:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Identity.groovy
r784 r786 1 1 package dbnp.studycapturing 2 3 import org.apache.log4j.Logger4 5 2 6 3 /** … … 20 17 * So you can easily handle the post data in the controller 21 18 * without relying on an iterator of your own as this proves 22 * to be very unreliable: 19 * to be very unreliable and quite some extra code and effort 20 * in both controller and views: 23 21 * 24 22 * Subject.findAll().each() { subject-> … … 65 63 // has the iterator become too large? 66 64 if (iterator >= maximumIdentity) { 67 // yes, reset it back to 0 65 // yes, reset it back to 0 as this iterator 66 // works for the complete application, not 67 // only the user session. We don't want it 68 // to go too high :) 68 69 iterator = 0 69 70 }
Note: See TracChangeset
for help on using the changeset viewer.