I have an object with associated objects which have associated objects. The first is an Application. An application is associated with a Member. The Member is associated with sets of StreetAddresses and Telephones.
In the Application class I have a toHTML method that lays out the detail from the Application, *including* the Member's data *and* any StreetAddresses or Telephones. If I pull an Application out of the DB using a ScalaQuery, it works like a charm. I also have an add method that creates the Application. It creates the Member first, then creates the StreetAddresses and Telephones and adds them to the Member. Then it creates the Application and adds the Member. Then it does a mergeAndFlush on the Application. Then I send a couple of emails, and in one of them I call the asHTML method on the Application. And I get all the Application and Member data, but the StreetAddresses and Telephones are blank. What gives? What do I have to do to access application.member.telephones? Or can I not do that automatically in a method inside of application? (It's the Application toHTML method that runs through this.member.telephones to create the output.) The craziest thing to me is that if I query for the Application, it works just fine. TIA Chas. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---