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" at="content">

  <lift:with-param name="header">
    Header stuff
  </lift:with-param>

  <lift:with-param name="left-column">
    left column stuff
  </lift:with-param>

  main content stuff

</lift:surround>


>
>
> 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 markup, but it
> always crashed out. Is it not possible? I've not needed to do it up
> until now so have never tried... Is there a solution for this?
>
> Cheers
>
> Tim
>
> On Sep 18, 3:02 pm, "David Pollak" <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Sep 18, 2008 at 6:52 AM, Tim Perrett <[EMAIL PROTECTED]>
> wrote:
> >
> > > > Are you running 0.9 or 0.10-SNAPSHOT (not that that should make a
> > > > difference).
> >
> > > Im running the bleeding edge.
> >
> > Weird... please do an rm -rf ~/.m2/repository and do an mvn clean
> jetty:run
> >
> > There should be no Content-Encoding header in the latest 0.10-SNAPSHOT
> >
> >
> >
> > > > Also, the Content-Type is text/html and it should be something else
> that
> > > > indicates xhtml.
> >
> > > Shouldnt XHTML have "Content-type: application/xhtml+xml" ?
> >
> > If the browser sends a header Accepts: ... this is so we don't confuse
> IE.
> >
> >
> >
> > > > What browser are you having a problem with?
> >
> > > Safari, and Firefox (PC only, mac seemed fine) and IE. So pretty much
> > > all of them. I had the following on my body tag in the CSS:
> >
> > > body {
> > >  background:#FFFFFF url('/images/bg.gif') repeat scroll 0 0;
> > >  text-align: center;
> > >  color:#766D6A;
> > > }
> >
> > Please do an http request on the server to make sure the CSS is being
> > delivered correctly.  Also, I would recommend against absolute paths in
> CSS.
> >
> >
> >
> > > Which worked perfectly fine across all the aforementioned browsers
> > > when it was not being served with lift (i.e. statically)
> >
> > > Cheers
> >
> > > Tim
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Collaborative Task Managementhttp://much4.us
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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 liftweb@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to