The not overly helpful answer... please look for the IdPK trait... you can see how to do stuff like this. If you're still stuck, I'll provide a more helpful answer.
On Fri, Apr 10, 2009 at 4:39 PM, Franz Bettag <[email protected]> wrote: > > Hey guys, > > i had the (simple) idea of creating a trait for these fields: > > object created_by extends MappedLongForeignKey(this, User) > object created_at extends MappedDateTime(this) > object updated_by extends MappedLongForeignKey(this, User) > object updated_at extends MappedDateTime(this) > object deleted_by extends MappedLongForeignKey(this, User) > object deleted_at extends MappedDateTime(this) > > Any ideas how i might do that? I've tried a few things but nothing > worked. A simple example would be enought to get me going ;) > > Thanks in advance > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
