Actually, same thing doesn't happen. If I change the third argument, I get this as the title in my browser as well as the link in the site map.
On 6 Aug, 20:51, pabraham <paulabraham...@googlemail.com> wrote: > Same thing happens, i.e. I get "No Navigation Defined." and no title. > > On 6 Aug, 20:38, Naftoli Gugenheim <naftoli...@gmail.com> wrote: > > > Not sure why you're getting no nav, but I think you want to change the > > other Home - the first string is the id of the link. > > > ------------------------------------- > > > pabraham<paulabraham...@googlemail.com> wrote: > > > Hello there, > > > I've been looking at SiteMap and trying to get it to give me a page > > title, based on the SiteMap section in the Lift book (PDF version). > > Here's how I've tried. > > > Boot.scala > > > // Build SiteMap > > val entries = Menu(Loc("Home", "index"::Nil, "Home")) :: Nil > > LiftRules.setSiteMap(SiteMap(entries:_*)) > > > default.html > > > <head> > > ... > > <title><Lift:Menu.title/></title> > > ... > > </head> > > <body> > > ... > > <lift:Menu.builder li_item:class="active"/> > > > This works fine, and gives me "Home" as the title of my page. > > > Now I actually want a different title, so I change the Loc bit to Loc > > ("abcdefg", "index"::Nil, "Home") and get "No Navigation Defined." > > > What am I doing wrong here? > > > Paul. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---