Re: [Lift] early execution of snippet

2009-11-23 Thread Jean-Luc
If you do not use the quotes ", your string "document" will be considered as a variable and your RewriteRequest will match /something/somethingElse Is it better with this code ? case RewriteRequest(ParsePath("document" :: id :: Nil,_,_,_ ), _,_) => RewriteResponse("display" :: Nil, Map("id" ->id

Re: [Lift] early execution of snippet

2009-11-23 Thread Timothy Perrett
Have a read of my article here: http://is.gd/wq4K Cheers, Tim On 23 Nov 2009, at 10:50, iboy wrote: > I am developing an application in which i need to do url rewriting so > that all the request of type /document/id gets directed to webpage > display.html which calls a snippet in which i am try

[Lift] early execution of snippet

2009-11-23 Thread iboy
I am developing an application in which i need to do url rewriting so that all the request of type /document/id gets directed to webpage display.html which calls a snippet in which i am trying to do some processing by capturing the parameter passed during urlrewriting,everything works fine but i a