:: Menu(Loc("Flash", Link(List("flash"), true, "/flash/Main.html"), "Flash Content",Hidden))
It gets served OK, but the HTML is processed on the way out; in particular, javascript has single quote characters converted to their HTML entity equivalents.
Is there a way to stop processing of HTML pages?
Alternatively, am I going about this the wrong way? I'm creating a WAR file with everything in to make it easy to do cloud hosting, and if I can keep deploying in this way, that's great, but if I need to consider alternative techniques, that's also OK.
Thanks,
dave
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
If you put an HTML page in SiteMap, it's going to be served by Lift and Lift processes all the HTML pages it serves.If you want to have a page that's not served by Lift, then use:
LiftRules.liftRequest.append{case Req("flash" :: "Main" :: Nil, "html", _) => false}
On Saturday, 28 April 2012 22:14:57 UTC+1, David Pollak wrote:If you put an HTML page in SiteMap, it's going to be served by Lift and Lift processes all the HTML pages it serves.If you want to have a page that's not served by Lift, then use:
LiftRules.liftRequest.append{case Req("flash" :: "Main" :: Nil, "html", _) => false}Great, that's perfect, thanks.As a followup, I've found it confusing figuring out what happens in Boot.scala;
there are different bits of documentation, with different ways of doing things, and I couldn't piece together a good overview. What's the recommended resource for figuring out how things are served?
Where could I have found out the solution above?Thanks!
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
As a followup, I've found it confusing figuring out what happens in Boot.scala;Nothing other than configuration happens in Boot.scala
there are different bits of documentation, with different ways of doing things, and I couldn't piece together a good overview. What's the recommended resource for figuring out how things are served?Please see http://www.assembla.com/spaces/liftweb/wiki/HTTP_Pipeline http://exploring.liftweb.net/master/index-9.html http://cookbook.liftweb.net/Pipeline.html