Hi, I'm trying to extend Mapper with a new MappedField type (basically same as OneToMany, with date/time interval)
So the mapped field in the owner object holds a collection of child objects. When I save the owner, the childs should be updated/inserted/deleted as well. The owner can contain several instances of the MappedField I would like each of these fields to hook into the lifecycle of the owned object. I could use the LifecycleCallbacks trait, but this seems like notification only. Ie if a save of the child fails, I don't see this in the call to owner.save. I could create a trait to mixin to the MetaMapper which overrides save, delete etc, but I would have to mix this in one time for each field the way I see it.... Any hints? /Jeppe -- 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.
