[Lift] Re: Sitemap - A catch-all loc?

2009-12-29 Thread Alex Black
I got this working, like this: Menu(Loc(Catchall, Pair(Nil, true), , homepageTemp1 :: Hidden :: Nil)) :: If you add this as the last item in your sitemap, it will catch everything that the other menus don't catch, and render it with the template you defined in homepageTemp1. This *almost*

Re: [Lift] Re: Sitemap - A catch-all loc?

2009-12-29 Thread David Pollak
Please don't do this. It will open up every xml, html, and xhtml file in your webapp directory to viewing. It is very, very dangerous. On Tue, Dec 29, 2009 at 9:09 AM, Alex Black a...@alexblack.ca wrote: I got this working, like this: Menu(Loc(Catchall, Pair(Nil, true), , homepageTemp1