Hey Lifters, Simple problem, but kind of difficult solution:
I've a foreign key field, e.g. myField. I want to get the id of the field. So I wrote a method inside the class: def getMyFieldId = myField.obj.map(_.id.is) openOr 0L IDs always start with one, right? But I get zero back! Why? I definitely know that this foreign key exists, because I can print another field value from the foreign key object inside some form...? That doesn't make any sense to me. thanks and sorry for always asking the same questions. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@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 -~----------~----~----~----~------~----~------~--~---