OK kids. Here's a lesson for you. Don't mix Mapper and Record in the
same file! Cause if you do, you might do something like this:
class MCheckin extends MongoRecord[MCheckin] with MongoId[MCheckin]
with LifecycleCallbacks {
}
and wonder why the #$%^&*( the callbacks aren't being called. But
then, after 5 hours of tinkering you finally realize that you were
implementing the mapper LifecycleCallbacks and not the record
LifecycleCallbacks.
-harryh
On Feb 10, 9:10 pm, harryh <[email protected]> wrote:
> Can anyone give me an example of how to implement a lifecycle callback
> in record? I can't, for the life of me, get it to work. Nor does
> there appear to be any documentation at all :(
>
> -harryh
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.