How to get child record (case class) ID in Play Framework (2.4.0) using Forms
问题 I'm afraid I'm not seeing it yet. There must be a way, using the tools as they are intended to be used, to get the ID of a child record (many-to-one typical relational database stuff) of a series of "items" I can create a "form" (mapping) in the case class of the parent no problem. lazy val aForm = Form( mapping( "ID" -> ignored(id), "firstName" -> nonEmptyText, "lastName" -> nonEmptyText, "listOfEmails" -> seq(email), "statusID" -> ignored(0l), "roleID" -> default(longNumber, roleID),