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
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
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
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:
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
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
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
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
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
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
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
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
12 matches
Mail list logo