That looks like a typo in the book. I'll fix it. Derek
On Fri, Aug 14, 2009 at 2:10 AM, xiaomingzhen...@gmail.com < xiaomingzhen...@gmail.com> wrote: > > i am a newer to lift, and now i am reading the book the definitive > guide to lift. In chapter 5.1, book told me this: > val helpMenu = Menu(Loc("helpHome",("help" :: "" :: Nil) -> > true,"Help")) make all the files under help folder accessible, but i > found the loc object in the Menu item should write like this: > ("help" :: Nil) -> true. Is that book wrong? > > and sometimes i wrote Menu(Loc("Home", "/", "Home")) and got a compile > wrong, and i have to write Menu(Loc("Home", "/" :: Nil, "Home")). i > have imported Loc._, why "/" string can not convert to a list? is that > a lift bug? > > besides, does all pages accessible in lift project must be import to > Sitemap? if so, when the website is large, the work may be tiring? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---