I wanted to echo Derek's surprise at some of the omissions in the paper book.
It was a disappointment for us as well. Thanks for ordering the book. On Aug 11, 4:52 pm, Steffen Weißmann <steffen.weissm...@googlemail.com> wrote: > I was aware of master.pdf before I ordered the book. Somehow I had > expected that the publisher would do some value-adding for the print > version, like formatting and indexing. When I tried to follow a "See > appendix..." hint in the book for the first time I thought amazon had > sent me a misprint version... Another thing that I really miss is a > page header telling the current chapter. Just in case you publish a > second edition ;-) > > Nonetheless thanks for writing the book! > > Steffen. > > > We're also disappointed that the book had neither an index or the > > appendices. Their omission was due to some issues with the way that APress > > handles FirstPress books. The index was definitely not possible for them, > > and the removal of the appendices was done so that the book would be printed > > in time (their printing workflow supposedly didn't allow for > X chapters > > and would have had to been rewritten). The appendices are available in PDF > > here: > > >http://www.apress.com/book/downloadfile/4390 > > > If you want a full PDF with index and appendices, you can check out the > > open-source version of the book here: > > >http://groups.google.com/group/the-lift-book > > > The master.pdf under "Files" is the most up-to-date version, and as I have > > time I update it with feedback. The two versions aren't 100% identical but > > they are very similar. > > > Derek > > > On Tue, Aug 11, 2009 at 1:01 PM, Steffen Weißmann > > <steffen.weissm...@googlemail.com> wrote: > > >> Sorry, it was a "beginning scala" problem: Instead of > > >> val prod = Product.create.... i had > >> def prod = Product.create... > > >> then prod.save returned true and prod.id=-1... > > >> Also sorry for posting this twice, but for some reason it took several > >> hours until the mails showed up on the list, I didn't expect that... > > >> BTW: I have bought your Lift book (the paper version...), and I am a > >> little disappointed that it has neither an appendix nor an index. What > >> was the reason for that? > > >> Cheers, Steffen. > > >> On Tue, Aug 11, 2009 at 8:34 PM, Derek Chen-Becker<dchenbec...@gmail.com> > >> wrote: > >> > Is it always the same one that gets a correct ID, and if you comment out > >> > that save does the other one get a correct ID? I'm just wondering if > >> > there's > >> > something sequential related to retrieving the generated IDs. > > >> > Derek > > >> > On Tue, Aug 11, 2009 at 6:25 AM, Steffen Weißmann > >> > <steffen.weissm...@googlemail.com> wrote: > > >> >> Hi, > > >> >> i am using two Mapper classes, both extend LongKeyedMapper[..] with > >> >> IdPK. After saving (returns true for both) one class always has id=-1, > >> >> the id of the other class counts up as expected. The id is however > >> >> correct when i list the table from another snippet. Any hints? > > >> >> Thanks, Steffen. > > >> -- > >> Steffen Weissmann > > >> Technische Universitaet Berlin - Math. Department - MA 3-2 > > >> Str. des 17. Juni 136 > >> 10623 Berlin - Germany > > >> Phone: +49 30 314-29278 > >> Mail: weissm...@math.tu-berlin.de > >> Web:www.math.tu-berlin.de/~weissman > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---