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 am facing a problem here that
every time i run lift and click on any link in menu the snippet
called in display.html gets executed itself.
my urlrewriting code is :
case RewriteRequest(ParsePath(document :: id :: Nil,_,_,_ ), _,_) =>
RewriteResponse("display" :: Nil, Map("id" ->id ))
Can somebody help me out pointing where am i wrong and how can i
solve this problem.
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=.