Re: [Lift] warning: value rewrite in object LiftRules is deprecated

2010-01-04 Thread David Pollak
On Thu, Dec 31, 2009 at 1:55 PM, Alex Black a...@alexblack.ca wrote: Two questions: 1. Whats the replacement for LiftRules.rewrite? 2. Is there a way I can write a custom Loc so that SiteMap is aware of the re-writing? Yes. Please see the Wiki code in example:

Re: [Lift] warning: value rewrite in object LiftRules is deprecated

2009-12-31 Thread Ross Mellgren
Instead of LiftRules.rewrite, use LiftRules.statelessRewrite if you want the old behavior (e.g. rewriting while S is not available) If you have rewrites that require S to be available, then you can use the new LiftRules.statefulRewrite I'm not sure about the SiteMap question. -Ross On Dec

Re: [Lift] warning: value rewrite in object LiftRules is deprecated

2009-12-31 Thread Naftoli Gugenheim
Can the deprecration message be made to say so? - Ross Mellgrendri...@gmail.com wrote: Instead of LiftRules.rewrite, use LiftRules.statelessRewrite if you want the old behavior (e.g. rewriting while S is not available) If you have rewrites that require S to