Something like that yes, but it looks like a lot of repetition.
You can try to match like that:
  case RewriteRequest(ParsePath("page" :: rest, _, _,_), _,_) =>
and then build your map from the rest list, for example like that:
  Map() ++ (List("level1", "level2", "level3", "level4") zip rest)
this should be equivalent to your code.

Apparently we’re not in the same time zone ;-)

--

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=.


Reply via email to