Changeset 786


Ignore:
Timestamp:
Aug 6, 2010, 12:33:12 PM (6 years ago)
Author:
duh
Message:
  • added some more documentation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Identity.groovy

    r784 r786  
    11package dbnp.studycapturing
    2 
    3 import org.apache.log4j.Logger
    4 
    52
    63/**
     
    2017 * So you can easily handle the post data in the controller
    2118 * 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:
    2321 *
    2422 * Subject.findAll().each() { subject->
     
    6563                        // has the iterator become too large?
    6664                        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 :)
    6869                                iterator = 0
    6970                        }
Note: See TracChangeset for help on using the changeset viewer.