And is the User saved after its address has been updated to 69?

-------------------------------------
george<geo...@mattandgeorge.com> wrote:


The long value seems to be updated correctly. But it doesn't make it
into the database.

        private def saveAddresses(u:User) : Unit = {
                u.address(u.address.obj.open_!.saveMe)
                Log.info(u.address.is.toString)
                Log.info(u.address.obj.open_!.toString)
        }

INFO - 69
INFO - formfiller.model.Address=
{line3=,id=69,line2=,line1=sadfas,country=,postcode=}

The address is created like this:

        def getAddress : Address =
                address.obj match {
                        case Full(a) => a
                        case _ =>
                                val a = new Address
                                address(a)
                                address.primeObj(Full(a))
                                a
                }

Full source here:  http://gist.github.com/169639



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to