LOL!! Thanks David, after 2 years of Lift its nice to know there is still stuff to catch me out :-D
You rock. Cheers, Tim On May 5, 9:36 pm, David Pollak <[email protected]> wrote: > Tim, > > You instincts are correct. Lift is serving the page as XHTML. The mime > type when Firefox is detected is application/xhtml+xml > > If you want to disable service as XHTML, set: > > LiftRules.useXhtmlMimeType = false > > Thanks, > > David > > On Tue, May 5, 2009 at 1:04 PM, Timothy Perrett > <[email protected]>wrote: > > > > > > > > > Guys, got a very strange problem with lift serving a google map > > page.... > > > I tore things back to the bear metal example from google, and with > > working code in a static html page served by apache, it works fine. I > > then paste it into a lift served page, and I get a JS error in the FF > > console: > > > NS_ERROR_DOM_NOT_SUPPORTED_ERR > > > This appears to be a really common error that has a bunch of things > > associated with it. I checked the content type being served by jetty: > > > ~ timperrett$ curl -Ihttp://127.0.0.1:8080/demo > > HTTP/1.1 <http://127.0.0.1:8080/demo%0AHTTP/1.1> 200 OK > > Expires: Tue, 5 May 2009 19:48:20 UTC > > Set-Cookie: JSESSIONID=1uhrovsz1f9iq;Path=/ > > Content-Length: 2661 > > Content-Type: text/html > > Cache-Control: no-cache; private; no-store; must-revalidate; max- > > stale=0; post-check=0; pre-check=0; max-age=0 > > Pragma: no-cache > > X-Lift-Version: 1.1-M1 > > > I even took the code that lift was generating and pasted that into a > > static html file and served by apache it works! So, the code is right, > > but when lift serves it nothing works... > > > What on earth could be causing this? > > > Cheers, Tim > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
