[Lift] Re: toForm on a MappedLongForeignKey

2009-07-11 Thread Josh Suereth
Exactly! Thanks On Sat, Jul 11, 2009 at 11:54 AM, TylerWeir tyler.w...@gmail.com wrote: Something like this? object reportsTo extends MappedLongForeignKey(this, User) { override def displayName = Reports To override def asHtml = { span{User.find(By(User.id,

[Lift] Re: toForm on a MappedLongForeignKey

2009-07-11 Thread Josh Suereth
actually, do you need the _toForm in there? If I remove it, it makes a nice combo box. I think I was just missing the validSelectValues override. Thanks again. - Josh On Sat, Jul 11, 2009 at 11:54 AM, TylerWeir tyler.w...@gmail.com wrote: Something like this? object reportsTo extends