Got it, I was a little bit confused :)
class X extends LongKeyedMapper[X] with IdPK {
...
}
object X extends X with LongKeyedMetaMapper[X] {
override def beforeSave = List((x: X) => {
println("hi")
()
})
}
On Dec 18, 11:50 pm, Naftoli Gugenheim <[email protected]> wrote:
> I think LifecycleCallbacks is needed for fields, not the mapper itself.
--
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.