Right, i've been working on this for most of the day trying to understand exactly whats going on. I have a working sample, but its not how I would want it to work in an ideal world.
http://github.com/timperrett/bloglite/tree/master/src/main/scala/eu/getintheloop/bloglite/maps/Articles.scala What I really want to do is split the functionality to point at differnet HTML files to keep it all tidy as possible and so that the scala file doesnt get cologged with HTML. So, I try rewriting to a file called "list" as opposed to "articles" with the following: override val rewrite: LocRewrite = Full({ case RewriteRequest(ParsePath("index" :: Nil, _, _,_),_, _) => (RewriteResponse("list" :: Nil), ListLoc) }) But it refuses to have it - jetty just serves the contents of the directory. There is obviously something going on that is not obvious - like I say, it all works fine if i just use a single HTML file, but thats *really* not what I want as its messy. How can I resolve this? Cheers Tim --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
