[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-19 Thread David Pollak
I'll work on an example Tim Perrett wrote: Hmmm im not sure I follow. Let me be explicit: default.html div id=flight-plan class=non-repeatable-background lift:bind name=toppoint / /div ... div id=content lift:bind name=content / /div mypage.html lift:surround with=default

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-19 Thread Tim Perrett
Awesome, cheers David. Looking through trunk with-param appears to be specified in sites/ example/wiki, but there is no corresponding bind point in the layout Cheers Tim On Sep 19, 5:03 pm, David Pollak [EMAIL PROTECTED] wrote: I'll work on an example

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-19 Thread David Pollak
Tim, Here's a very basic example that works just fine on Lift 0.10-SNAPSHOT. Thanks, David On Fri, Sep 19, 2008 at 9:07 AM, Tim Perrett [EMAIL PROTECTED] wrote: Awesome, cheers David. Looking through trunk with-param appears to be specified in sites/ example/wiki, but there is no

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
Ok I found a post going back some time explaining about the doc types However Im not sure how to implement it in boot? It appears that the syntax steve details here:

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
Ah thanks David - sorry about the additional post... we must have posted at the same time! Freeky! I'll document this on the wiki Cheers Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread David Pollak
What are the headers that are being sent to your browser? On Thu, Sep 18, 2008 at 6:25 AM, Tim Perrett [EMAIL PROTECTED] wrote: Interestingly, now the DTD is coming through properly the background of my body is all screwy (but in the static html it works fine). When the page is being served

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
timperrett$ curl -I http://127.0.0.1:8080 HTTP/1.1 200 OK Expires: 0 Set-Cookie: JSESSIONID=1gid6kn3mc11r;Path=/ Content-Length: 3515 Content-Encoding: UTF-8 Content-Type: text/html Server: Jetty(6.1.12rc1) In this particular instance I've managed a work-around with CSS, but it would be good to

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
I've also posted this information onto the wiki http://liftweb.net/index.php/Setting_Template_Doctype --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread David Pollak
Tim Perrett wrote: timperrett$ curl -I http://127.0.0.1:8080 HTTP/1.1 200 OK Expires: 0 Set-Cookie: JSESSIONID=1gid6kn3mc11r;Path=/ Content-Length: 3515 Content-Encoding: UTF-8 Content-Type: text/html Server: Jetty(6.1.12rc1) In this particular instance I've managed a work-around with

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
Are you running 0.9 or 0.10-SNAPSHOT (not that that should make a difference). Im running the bleeding edge. Also, the Content-Type is text/html and it should be something else that indicates xhtml. Shouldnt XHTML have Content-type: application/xhtml+xml ? What browser are you having a

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread Tim Perrett
Ok cool i'll give that a shot Just whilst were talking about layouts If I have two insertion points in my default.html lift:bind name=header / lift:bind name=content / It appears to be not possible to insert into both elements from a page? I've tried a whole bunch of ways in the html page

[Lift] Re: Lift is replacing my Strict DTD with Transitional

2008-09-18 Thread David Pollak
On Thu, Sep 18, 2008 at 7:14 AM, Tim Perrett [EMAIL PROTECTED] wrote: Ok cool i'll give that a shot Just whilst were talking about layouts If I have two insertion points in my default.html lift:bind name=header / lift:bind name=content / I think it's: lift:surround with=default