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 <naftoli...@gmail.com> 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 lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to