And if you don't want any sitemap at all, just don't set the SiteMap in your app (comment out the LiftRules.setSiteMap(SiteMap(entries:_*)) line in Boot.scala).
On Sat, May 30, 2009 at 1:56 PM, marius d. <marius.dan...@gmail.com> wrote: > > To access a page you need to add it in the SiteMap. I assume you are a > bit confused about the relation between a Menu and a page. I mean > after all maybe for your site you don't really need a menu but in Lift > a Menu is much more then a visual representation of a way to navigate > to your pages. It specifies various things such as how to access a > page (constraints definition), visibility of a page in the sitemap > Menu etc. So in short the SiteMap + Menu + Loc describes how pages can > be accesses in a Lift app. > > The Lift book describes that by the means of concrete examples, > detailed Menu & Loc descriptions etc. Maybe some things in the book > are not very obvious for a first read or just reading it as > ultimatelly learning Lift is about coding trying things. The book is > just a mean to an end, I would say. > > Br's, > Marius > > On May 30, 9:38 pm, Sean Reque <seanre...@gmail.com> wrote: > > I have the pocketchange app with lift 1.0. I add a directory in webapp > > with an index.html file, identical to the help directory except with > > some changed text. I visit the URL corresponding to the directory and > > it doesn't show up at all, but tells me the requested resource is not > > found. I then add the directory index.html file to the global sitemap > > in Boot.scala the same as it's help counterpart, recompile and restart > > jetty, and suddenly, without even using or touching the sitemap, lift > > displays the processed template. I've read the template finding > > algorithm described in the exploring lift book and it makes no mention > > of any such requirement, and I'm pretty sure I shouldn't have to add > > every single template file to the global sitemap to get lift to even > > recognize it's existence. What important detail am I missing? > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---