dear all,

i have one problem in url rewriting..what i want is something like
this guest/view?branch=?&date=?...or guest/view/branch/date.

my code as below:

LiftRules.rewrite.append {
    case RewriteRequest(
        ParsePath(List("guest", "view", branch, date),_,_,_),_,_) =>
        RewriteResponse(List("guest","view"), Map("branch" ->
branch,"date" -> date))
    }

val entries = Menu(Loc("Home", List("index"), "Home"))::
    Menu(Loc("View", "guest"::"view"::Nil, "View")):: User.sitemap
    LiftRules.setSiteMap(SiteMap(entries:_*))

and my error is

The Requested URL guest/view/Full(1)/Full(11/17/2009) was not found on
this server..can anyone help me..is it my code wrong. for your info
view.html is in the guest folder


--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.


Reply via email to