[Lift] Re: Prevent direct access to templates

2009-06-01 Thread marius d.
What do you have in your SiteMap? .. only login or both login and login_ru. Normally you should only have login and login_ru would be picked up automatically by lift depending on what Locale the LiftRules.localeCalculator returns. Br's, Marius On Jun 1, 9:52 am, feelgood asseliva...@gmail.com

[Lift] Re: Prevent direct access to templates

2009-06-01 Thread feelgood
SiteMap contains login only. On 1 июн, 19:21, marius d. marius.dan...@gmail.com wrote: What do you have in your SiteMap? .. only login or both login and login_ru. Normally you should only have login and login_ru would be picked up automatically by lift depending on what Locale the

[Lift] Re: Prevent direct access to templates

2009-06-01 Thread David Pollak
In Boot.scala: LiftRules.passNotFoundToChain = false If this is set to true and Lift cannot process a page, it passes the request on to the Servlet chain which will serve the xhtml file. 2009/6/1 feelgood asseliva...@gmail.com SiteMap contains login only. On 1 июн, 19:21, marius d.